RFR: 8294691: dynamicArchive/RelativePath.java is running other test case
Calvin Cheung
ccheung at openjdk.org
Thu Oct 6 20:59:22 UTC 2022
On Thu, 6 Oct 2022 15:35:50 GMT, Matias Saavedra Silva <duke at openjdk.org> wrote:
> Test case in RelativePath.java corrected. Verified with tier 1-4 tests.
Just one comment below.
test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/RelativePath.java line 61:
> 59: dump(topArchiveName, "-Xlog:cds",
> 60: "-Xlog:cds+dynamic=debug",
> 61: "-cp", "." + File.separator + "hello.jar" + File.pathSeparator + appJar2,
For dumping archive, I think it's better not to use relative path as follows:
`"-cp", appJar + File.pathSeparator + appJar2,`
This test is for validating using relative path during runtime works while relative path wasn't used during dump time.
-------------
PR: https://git.openjdk.org/jdk/pull/10597
More information about the hotspot-runtime-dev
mailing list