RFR: 8276764: Enable deterministic file content ordering for Jar and Jmod [v5]
Andrew Leonard
aleonard at openjdk.java.net
Fri Nov 19 21:25:43 UTC 2021
> Both jar and jmod utilise java.io file operations whose methods define no ordering of the return file lists, and in fact rely on OS query file ordering, which can differ by underlying OS architecture.
> This PR adds sort processing to the creation of such jar's and jmod's to enable a deterministic content ordering.
>
> Signed-off-by: Andrew Leonard <anleonar at redhat.com>
Andrew Leonard has updated the pull request incrementally with one additional commit since the last revision:
8276764: Enable deterministic file content ordering for Jar and Jmod
Signed-off-by: Andrew Leonard <anleonar at redhat.com>
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/6395/files
- new: https://git.openjdk.java.net/jdk/pull/6395/files/23efb28c..18776eb3
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=6395&range=04
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=6395&range=03-04
Stats: 18 lines in 3 files changed: 18 ins; 0 del; 0 mod
Patch: https://git.openjdk.java.net/jdk/pull/6395.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/6395/head:pull/6395
PR: https://git.openjdk.java.net/jdk/pull/6395
More information about the compiler-dev
mailing list