JDK-8080675 : Enhance the classfile library to support construction of classfiles from scratch
Type:Enhancement
Component:tools
Sub-Component:javac
Affected Version:9
Priority:P4
Status:Closed
Resolution:Fixed
Submitted:2015-05-19
Updated:2015-09-10
Resolved:2015-07-01
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.
The javac's classfile library could be used not only to read classfiles, but also to construct classfiles from scratch. To do so, a few more constructors for various elements are needed (see the attached patch).
Comments
noreg-other: the changes are quite simple, and are actively used by CreateSymbols during build.