JDK-8004699 : Add type annotation storage to Constructor, Field and Method
Type:Enhancement
Component:core-libs
Sub-Component:java.lang:reflect
Affected Version:8
Priority:P2
Status:Closed
Resolution:Fixed
Submitted:2012-12-07
Updated:2013-08-06
Resolved:2012-12-18
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.
We need to enhance java.lang.reflect.Constructor, Field and Method with storage for type annotations (JDK-8004698).
These will be set at instance creation by the VM.
Comments
Verified by the existing testing of annotations in test/java/lang and the tests included in JDK-8004698
06-08-2013
Turns out I was wrong about the intended semantics of redefine calls. However having these fields will make it a lot easier to coordinate changes with hotspot, so we still need this for now.