JDK-8339710 : Avoid initializing AccessFlag related classes in write-only cases
Type:Sub-task
Component:core-libs
Sub-Component:java.lang.classfile
Priority:P4
Status:Resolved
Resolution:Fixed
Submitted:2024-09-08
Updated:2024-09-16
Resolved:2024-09-09
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.
Providing overrides for withFlags(int) in the Direct*Builder classes avoids loading a few AccessFlag-related classes during bootstrap method use of the classfile API.