On Fri, 19 Nov 2021 10:10:33 GMT, Andrew Leonard <aleon...@openjdk.org> wrote:
>> 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 <anleo...@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 <anleo...@redhat.com> test/jdk/tools/jar/ContentOrder.java line 87: > 85: onCompletion = () -> rm("test.jar", "testjar"); > 86: > 87: jar("cf test.jar testjar"); It might be worth testing with -C dir as well ------------- PR: https://git.openjdk.java.net/jdk/pull/6395