On Fri, 6 Jan 2023 22:23:35 GMT, Matias Saavedra Silva <matsa...@openjdk.org> wrote:
>> This is an enhancement of the test case in >> [JDK-8296754](https://bugs.openjdk.org/browse/JDK-8296754), which tests >> against an archive created by the "boot JDK", which is usually set as the >> previous official JDK release when building the JDK repo. >> >> If it's able to acquire previous valid JDK releases: >> - Download and install previous JDK versions (19 through N) >> where N == java.lang.Runtime.version​().major() - 1 >> - Test the interaction of the current JDK versus each of the previous >> releases >> >> If it's not able to find the previous releases revert to the existing logic >> in TestAutoCreateSharedArchiveUpgrade.java (use the test.boot.jdk or >> test.previous.jdk properties). Verified with tier1-4 tests. > > Matias Saavedra Silva has updated the pull request incrementally with one > additional commit since the last revision: > > Test requires 64 bit test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/TestAutoCreateSharedArchiveUpgrade.java line 41: > 39: import jdk.test.lib.artifacts.Artifact; > 40: import jdk.test.lib.artifacts.ArtifactResolver; > 41: import jdk.test.lib.artifacts.ArtifactResolverException; Some of these new imports are not needed anymore. Also, there's other code that need to be removed, like the `props` below. ------------- PR: https://git.openjdk.org/jdk/pull/11852