RFR: 8287873: Add test for using -XX:+AutoCreateSharedArchive with different JDK versions [v9]

Matias Saavedra Silva matsaave at openjdk.org
Fri Jan 13 17:05:10 UTC 2023


> 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:

  Added exceptions instead of default jdk

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/11852/files
  - new: https://git.openjdk.org/jdk/pull/11852/files/a1cd4348..b78a5fbb

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=11852&range=08
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=11852&range=07-08

  Stats: 14 lines in 1 file changed: 0 ins; 6 del; 8 mod
  Patch: https://git.openjdk.org/jdk/pull/11852.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/11852/head:pull/11852

PR: https://git.openjdk.org/jdk/pull/11852


More information about the hotspot-runtime-dev mailing list