RFR: 8283315: jrt-fs.jar not always deterministically built

Andrew Leonard aleonard at openjdk.java.net
Thu Mar 17 11:17:06 UTC 2022


JarArchive.gmk uses an un-sorted jar @<file list\>, thus depending on exactly how that list gets ordered by relevant OS querys. Such queries can differ in order on different CPU architectures (Intel vs AMD).

This PR adds a "sort" to the jar @<file list\> contents.

Signed-off-by: Andrew Leonard <anleonar at redhat.com>

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

Commit messages:
 - 8283315: jrt-fs.jar not always deterministically built

Changes: https://git.openjdk.java.net/jdk/pull/7852/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=7852&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8283315
  Stats: 6 lines in 1 file changed: 3 ins; 0 del; 3 mod
  Patch: https://git.openjdk.java.net/jdk/pull/7852.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/7852/head:pull/7852

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



More information about the build-dev mailing list