RFR: 8252730: jlink does not create reproducible builds on different servers [v2]

Daniel Fuchs dfuchs at openjdk.java.net
Tue Sep 15 09:35:49 UTC 2020


On Mon, 14 Sep 2020 22:57:44 GMT, Ian Graves <igraves at openjdk.org> wrote:

>> Related to [JDK-8252730 jlink does not create reproducible builds on different
>> servers](https://bugs.openjdk.java.net/browse/JDK-8252730). Introduces ordering based on `Archive` module names to
>> ensure stable files (and file signatures) across generated JDK images by jlink.
>
> Ian Graves has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Merging streams

src/jdk.jlink/share/classes/jdk/tools/jlink/internal/ImageFileCreator.java line 41:

> 39: import java.util.Objects;
> 40: import java.util.Set;
> 41: import java.util.Comparator;

nit: `Comparator` might no longer be needed? I don't see where it's used.

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

PR: https://git.openjdk.java.net/jdk/pull/156


More information about the core-libs-dev mailing list