On Wed, 4 Jan 2023 20:07:48 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.

This pull request has now been integrated.

Changeset: 77f2d20e
Author:    Matias Saavedra Silva <matsa...@openjdk.org>
Committer: Ioi Lam <ik...@openjdk.org>
URL:       
https://git.openjdk.org/jdk/commit/77f2d20e96712de725abffd9db5f28b1a48153b4
Stats:     128 lines in 3 files changed: 110 ins; 6 del; 12 mod

8287873: Add test for using -XX:+AutoCreateSharedArchive with different JDK 
versions

Reviewed-by: iklam

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

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

Reply via email to