[jdk17u-dev] RFR: 8273092: Sort classlist in JDK image : regarding CDS archives
Andrew Leonard
anleonar at redhat.com
Fri Aug 4 09:39:17 UTC 2023
Hi,
I am currently backporting the fix to sort the classlist file, for a
deterministic output: https://github.com/openjdk/jdk17u-dev/pull/1632
and as Ioi Lam pointed out CDS archives in jdk17u are non-deterministic
without various jdk-21+ fixes (
https://bugs.openjdk.org/browse/JDK-8245335?jql=labels%20%3D%20reproducible-build%20AND%20labels%20%3D%20cds%20ORDER%20BY%20fixVersion%20ASC),
which are unlikely to be backported as jdk17u CDS is quite different to 21+
now.
However, it would still be useful to at least have the classlist
deterministic, to achieve a JDK tarball that is reproducible bar the CDS
archives. There is an argument that CDS archives could be produced at a
different point in time from the build tarball, for example maybe via the
installer at user install time.
Thoughts please? on whether it is useful to merge this classlist sorting,
regardless of the CDS archive issue?
Thanks
Andrew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/jdk-updates-dev/attachments/20230804/ca868a64/attachment.htm>
More information about the jdk-updates-dev
mailing list