JDK-8338545 : Functional interface implementations for common pre-boot ClassFile operations
  • Type: Sub-task
  • Component: core-libs
  • Sub-Component: java.lang.classfile
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2024-08-19
  • Updated: 2024-08-26
  • Resolved: 2024-08-21
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 b12Fixed
Description
A few lambdas in ClassFile API can be shared to reduce class loading at bootstrap, such as withField passing flags or withMethodBody, or passing buffered models to loaded models. This allows those features to be used in early startup, avoiding ad-hoc classes in java.lang.invoke.
Comments
Changeset: 80adea8e Branch: master Author: Chen Liang <liach@openjdk.org> Date: 2024-08-21 11:58:21 +0000 URL: https://git.openjdk.org/jdk/commit/80adea8e0ab3753c3623267c6a2bd3eaed69ad29
21-08-2024

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/20629 Date: 2024-08-19 15:57:34 +0000
20-08-2024