JDK-8351441 : [lworld] ClassFile API support generating stack maps for strict field assignment
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.lang.classfile
  • Affected Version: repo-valhalla
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2025-03-07
  • Updated: 2025-03-14
  • Resolved: 2025-03-12
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
Blocks :  
Relates :  
Description
ClassFile API should support strict field assignment status tracking in the stack maps generation. This would be critical to enable class file processors to derive class files for testing strict functionalities.

To accomplish, the class file writing algorithm will defer writing of fields and methods, so the writing of methods (and stack maps generation) only begin after all fields have been written and the set of strict fields have been derived.
Comments
A pull request was submitted for review. Branch: lworld URL: https://git.openjdk.org/valhalla/pull/1392 Date: 2025-03-07 23:59:24 +0000
10-03-2025