RFR: 8292313: 2 runtime/cds/appcds tests fail after JDK-8284313
Calvin Cheung
ccheung at openjdk.org
Mon Aug 15 22:49:38 UTC 2022
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.
-------------
Commit messages:
- 8292313: 2 runtime/cds/appcds tests fail after JDK-8284313
Changes: https://git.openjdk.org/jdk/pull/9884/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=9884&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8292313
Stats: 5 lines in 3 files changed: 0 ins; 3 del; 2 mod
Patch: https://git.openjdk.org/jdk/pull/9884.diff
Fetch: git fetch https://git.openjdk.org/jdk pull/9884/head:pull/9884
PR: https://git.openjdk.org/jdk/pull/9884
More information about the hotspot-runtime-dev
mailing list