JDK-8040319 : Clean up type annotation exception index generating code in Code.java
  • Type: Sub-task
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 8,9
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2014-04-15
  • Updated: 2014-07-10
  • Resolved: 2014-04-17
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9 b10Fixed
Description
The code for generating exception_indexes on type annotations for exception parameters uses bad patterns, and needlessly mutates type_index, preventing it from being made final.  It should be redesigned and rewritten, and type_index should be made final