RFR: 8257241: CDS should not handle disableEagerInitialization for archived lambda proxy classes [v2]

Calvin Cheung ccheung at openjdk.java.net
Tue Dec 1 23:25:57 UTC 2020


On Tue, 1 Dec 2020 22:47:18 GMT, Ioi Lam <iklam at openjdk.org> wrote:

>> I can make a copy and put it under the `open/test/hotspot/jtreg/runtime/cds/appcds/test-classes` dir. I'd still need the `@compile` and would be something like `@compile test-classes/LambdaEagerInitTest.java`.
>
> The `@compile` can be avoiding by putting LambdaEagerInitTest into the `@library` and referencing it as
> 
> private static final String mainClass = LambdaEagerInitTest.class.getName();

Yes, `@library test-classes` works.

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

PR: https://git.openjdk.java.net/jdk/pull/1542


More information about the core-libs-dev mailing list