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

Calvin Cheung ccheung at openjdk.org
Tue Aug 16 05:22:17 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.

Calvin Cheung has updated the pull request incrementally with one additional commit since the last revision:

  comments from Ioi

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/9884/files
  - new: https://git.openjdk.org/jdk/pull/9884/files/368a6b02..5af38965

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=9884&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=9884&range=00-01

  Stats: 5 lines in 2 files changed: 0 ins; 0 del; 5 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