RFR: JDK-8241602 jlink does not produce reproducible jimage files

Magnus Ihse Bursie magnus.ihse.bursie at oracle.com
Wed May 6 07:00:43 UTC 2020


On 2020-05-05 21:56, Jim Laskey wrote:
> This fix addresses the inconsistent ordering by jimage content by jlink from run to run. Bottom line, the implementer was using HashSet without defining hashcode/equals for the Set entry classes.
>
> webrev: http://cr.openjdk.java.net/~jlaskey/8241602/webrev-00 <http://cr.openjdk.java.net/~jlaskey/8241602/webrev-00>
Looks good to me.

/Magnus
> jbs: https://bugs.openjdk.java.net/browse/JDK-8241602 <https://bugs.openjdk.java.net/browse/JDK-8241602>
>
> Cheers,
>
> -- Jim
>



More information about the core-libs-dev mailing list