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

Adam Sotona asotona at openjdk.org
Wed Aug 21 08:22:14 UTC 2024


On Tue, 20 Aug 2024 17:10:56 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. The pull request contains four additional commits since the last revision:
> 
>  - Merge branch 'master' into feature/cf-shared-lambdas
>  - Sneaky import
>  - 8338545: Functional interface implementations for common pre-boot ClassFile operations
>  - 8338543: ClassBuilder withMethod builders should cache the method type symbol

Marked as reviewed by asotona (Reviewer).

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

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


More information about the core-libs-dev mailing list