Integrated: 8296754: AutoCreateSharedArchive in JDK 20 is not compatible with JDK 19
Matias Saavedra Silva
matsaave at openjdk.org
Mon Nov 28 15:29:31 UTC 2022
On Mon, 14 Nov 2022 21:33:23 GMT, Matias Saavedra Silva <matsaave at openjdk.org> wrote:
> The -XX:+AutoCreateSharedArchive flag was implemented in JDK 19, however, this flag doesn't work across JDK 19 and 20.
>
> Expected: JDK 20 should recreate the specified CDS archive
> Actual: JDK 20 cannot recognize the archive file and gives up
>
> The new field from GenericCDSFileMapHeader is now in FileMapHeader. Verified with tier 1-4 tests.
This pull request has now been integrated.
Changeset: a249a525
Author: Matias Saavedra Silva <matsaave at openjdk.org>
Committer: Ioi Lam <iklam at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/a249a52501f3cd7d4fbe5293d14ac8d0d6ffcc69
Stats: 249 lines in 8 files changed: 191 ins; 15 del; 43 mod
8296754: AutoCreateSharedArchive in JDK 20 is not compatible with JDK 19
Reviewed-by: ccheung, iklam, erikj
-------------
PR: https://git.openjdk.org/jdk/pull/11148
More information about the build-dev
mailing list