United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6918127 improve handling of TypeAnnotationPosition fields
JDK-6918127 : improve handling of TypeAnnotationPosition fields

Details
Type:
Enhancement
Submit Date:
2010-01-19
Status:
Closed
Updated Date:
2012-01-18
Project Name:
JDK
Resolved Date:
2012-01-18
Component:
tools
OS:
generic
Sub-Component:
javac
CPU:
generic
Priority:
P4
Resolution:
Fixed
Affected Versions:
7
Fixed Versions:

Related Reports
Duplicate:

Sub Tasks

Description
improve handling of type annotations position fields
 - local variable info (offset, length, index) arrays should be first
   initialized to null, and only get initialized if needed
 - initialize some other fields to obvious invalid values
   (MIN_VALUE), to help in debugging

                                    

Comments
EVALUATION

Yes, provides safer handling of arrays.
                                     
2010-01-19



Hardware and Software, Engineered to Work Together