[jdk19] RFR: 8290417: CDS cannot archive lamda proxy with useImplMethodHandle [v2]

Ioi Lam iklam at openjdk.org
Mon Jul 18 18:54:12 UTC 2022


On Mon, 18 Jul 2022 17:56:23 GMT, Mandy Chung <mchung at openjdk.org> wrote:

>> Ioi Lam has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   fixed typo
>
> test/hotspot/jtreg/runtime/cds/appcds/test-classes/pkg1/BaseWithProtectedMethod.java line 29:
> 
>> 27: public class BaseWithProtectedMethod {
>> 28:     protected void protectedMethod(String s) {
>> 29:         Thread.dumpStack();
> 
> is it intentional for the test to keep dumping the stack?

Yes, this is intentional. The stack dump is used in Child.jcod to explain the difference between javac from JDK 8/11 vs JDK 17. This is done once during test execution and it doesn't affect the pass/fail of the test.

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

PR: https://git.openjdk.org/jdk19/pull/146


More information about the core-libs-dev mailing list