Integrated: 8338545: Functional interface implementations for common pre-boot ClassFile operations

Chen Liang liach at openjdk.org
Wed Aug 21 12:01:12 UTC 2024


On Mon, 19 Aug 2024 15:57:34 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)`.

This pull request has now been integrated.

Changeset: 80adea8e
Author:    Chen Liang <liach at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/80adea8e0ab3753c3623267c6a2bd3eaed69ad29
Stats:     139 lines in 11 files changed: 33 ins; 63 del; 43 mod

8338545: Functional interface implementations for common pre-boot ClassFile operations

Reviewed-by: asotona

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

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


More information about the core-libs-dev mailing list