JDK-8362181 : [lworld] Include verification for strict fields in ClassFile API
  • Type: Sub-task
  • Component: core-libs
  • Sub-Component: java.lang.classfile
  • Affected Version: repo-valhalla
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2025-07-14
  • Updated: 2025-10-14
  • 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.

To download the current JDK release, click here.
Other
repo-valhallaFixed
Related Reports
Relates :  
Description
We need to update ClassFile verifier to accept strict instance fields. This allows us to at least stop emitting false positives for them.
Comments
Both this and JDK-8368800 ensures preview must be enabled (in class file version and/or command line flags) to use value object features.
14-10-2025

A pull request was submitted for review. Branch: lworld URL: https://git.openjdk.org/valhalla/pull/1506 Date: 2025-07-09 16:36:38 +0000
14-07-2025