RFR: 8338545: Functional interface implementations for common pre-boot ClassFile operations [v2]

Chen Liang liach at openjdk.org
Tue Aug 20 05:50:05 UTC 2024


> Some ad-hoc lambdas and classes for functional calls to ClassFile API in early bootstrap can be replaced with a few fixed factories. This allows some methods to be used at early bootstrap with less class loading costs.
> 
> Depends on #20627, as this adds another fix to one of the fixes there on `ClassBuilder::withMethodBody(String, MethodTypeDesc, int, Consumer)`.

Chen Liang has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase.

-------------

Changes:
  - all: https://git.openjdk.org/jdk/pull/20629/files
  - new: https://git.openjdk.org/jdk/pull/20629/files/07b93802..07b93802

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=20629&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=20629&range=00-01

  Stats: 0 lines in 0 files changed: 0 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/20629.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/20629/head:pull/20629

PR: https://git.openjdk.org/jdk/pull/20629


More information about the core-libs-dev mailing list