JDK-8339260 : Move rarely used constants out of ClassFile
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.lang.classfile
  • Affected Version: 24
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2024-08-29
  • Updated: 2024-09-30
  • Resolved: 2024-09-26
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.
JDK 24
24 b17Fixed
Related Reports
CSR :  
Description
java.lang.classfile.ClassFile, as the entrypoint to ClassFile API, has a lot of rarely-used specific constants. Those specific constants should be moved, and we will only keep the class file version, magic number, and access flag constants in ClassFile.
Comments
Changeset: 8c8f0d85 Branch: master Author: Chen Liang <liach@openjdk.org> Date: 2024-09-26 06:34:18 +0000 URL: https://git.openjdk.org/jdk/commit/8c8f0d85ce30e45c34d4b096f7f1430cd9e7fd70
26-09-2024

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/20773 Date: 2024-08-29 14:57:10 +0000
29-08-2024