JDK-8359384 : [lworld] Add strict field support to Classfile API
Type:Enhancement
Component:core-libs
Sub-Component:java.lang.classfile
Affected Version:repo-valhalla
Priority:P4
Status:Closed
Resolution:Delivered
Submitted:2025-06-12
Updated:2025-09-22
Resolved:2025-09-22
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.
Not sure how it would look, but it would be useful for writing tests for strict fields.
Comments
I think it's mostly done in JDK-8351441 for strict instance fields. There should be no change for strict statics, as all their checks are at run-time. However, we still need to update the ClassFile copy of runtime verifier. It is out-of-date on mainline so we probably need to sync on mainline before we start syncing on lworld.