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

Adam Sotona asotona at openjdk.org
Tue Aug 20 12:06:56 UTC 2024


On Tue, 20 Aug 2024 05:50:05 GMT, Chen Liang <liach at openjdk.org> wrote:

>> 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.

Very nice cleanup safeguarding general use of ClassFile in the JDK bootstrap.

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

Marked as reviewed by asotona (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/20629#pullrequestreview-2247801735


More information about the core-libs-dev mailing list