RFR: 8296754: AutoCreateSharedArchive in JDK 20 is not compatible with JDK 19 [v5]

Matias Saavedra Silva matsaave at openjdk.org
Tue Nov 22 14:44:36 UTC 2022


On Thu, 17 Nov 2022 21:46:45 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.
>
> Matias Saavedra Silva has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Added newline to end of test

Thank you for the feedback Eric, Calvin, and Ioi!

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

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



More information about the build-dev mailing list