RFR: 8277343: dynamicArchive/SharedArchiveFileOption.java failed: '-XX:+RecordDynamicDumpInfo is unsupported when a dynamic CDS archive is specified in -XX:SharedArchiveFile:' missing
Calvin Cheung
ccheung at openjdk.java.net
Wed Nov 17 21:36:41 UTC 2021
On Wed, 17 Nov 2021 20:32:07 GMT, Ioi Lam <iklam at openjdk.org> wrote:
> Please fix this trivial fix. The affected test case expected the following message
>
>
> -XX:+RecordDynamicDumpInfo is unsupported when a dynamic CDS archive is specified in -XX:SharedArchiveFile:
>
>
> but if we run with `jtreg -vmoption:-Xshare:off` the test case takes a different path, resulting in a different message:
>
>
> Cannot have more than 1 archive file specified in -XX:SharedArchiveFile during CDS dumping
>
>
> Since the latter message is already being tested in another case in SharedArchiveFileOption.java, we can simple disable this test case under this condition.
LGTM.
-------------
Marked as reviewed by ccheung (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/6437
More information about the hotspot-runtime-dev
mailing list