On Mon, 18 Jul 2022 17:56:23 GMT, Mandy Chung <mch...@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

Reply via email to