RFR: 8292313: 2 runtime/cds/appcds tests fail after JDK-8284313 [v2]

Ioi Lam iklam at openjdk.org
Tue Aug 16 15:57:19 UTC 2022


On Tue, 16 Aug 2022 05:22:17 GMT, Calvin Cheung <ccheung at openjdk.org> wrote:

>> The tests failed due to the presence of the -Xlog:cds flag. 
>> 
>> In the WrongTopClasspath.java test, it expects the following warning: 
>> `[warning][cds] shared class paths mismatch (hint: enable -Xlog:class+path=info to diagnose the failure) `
>> 
>> with -Xlog:cds enabled, the log statement becomes: 
>> `[info][cds] UseSharedSpaces: shared class paths mismatch (hint: enable -Xlog:class+path=info to diagnose the failure)` 
>> 
>> Since both tests are running in both Tiers 2 and 3 and the tests are not testing any of the VM flags settings in Tier4, I think we can simply add the following @requires to the tests: 
>>     vm.flagless
>> 
>> This message going to different channels (warning vs log) issue will be addressed in [JDK-8292269](https://bugs.openjdk.org/browse/JDK-8292269).
>> 
>> Passed tier2 testing and tested with `-Xlog:cds` locally on linux-x64.
>
> Calvin Cheung has updated the pull request incrementally with one additional commit since the last revision:
> 
>   comments from Ioi

Marked as reviewed by iklam (Reviewer).

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

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


More information about the hotspot-runtime-dev mailing list