Integrated: 8292914: Lambda proxies have unstable names
David M. Lloyd
duke at openjdk.org
Mon Feb 27 17:24:26 UTC 2023
On Wed, 15 Feb 2023 17:32:38 GMT, David M. Lloyd <duke at openjdk.org> wrote:
> The class generated for lambda proxies is now defined as a hidden class. This means that the counter, which was used to ensure a unique class name and avoid clashes, is now redundant. In addition to performing redundant work, this also impacts build reproducibility for native image generators which might already have a strategy to cope with hidden classes but cannot cope with indeterminate definition order for lambda proxy classes.
>
> This solves JDK-8292914 by making lambda proxy names always be stable without any configuration needed. This could also replace #10024.
This pull request has now been integrated.
Changeset: b527edd3
Author: David M. Lloyd <david.lloyd at redhat.com>
Committer: Mandy Chung <mchung at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/b527edd3388ad6a0d44a291983b08b2b5c023f8f
Stats: 160 lines in 49 files changed: 31 ins; 15 del; 114 mod
8292914: Lambda proxies have unstable names
Change the name of generated lambda proxy classes so that they no longer have a numerical suffix.
Reviewed-by: mchung
-------------
PR: https://git.openjdk.org/jdk/pull/12579
More information about the core-libs-dev
mailing list