Integrated: 8276764: Enable deterministic file content ordering for Jar and Jmod
Andrew Leonard
aleonard at openjdk.java.net
Tue Nov 23 18:32:19 UTC 2021
On Mon, 15 Nov 2021 18:47:34 GMT, Andrew Leonard <aleonard at 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 <anleonar at redhat.com>
This pull request has now been integrated.
Changeset: 24e586a0
Author: Andrew Leonard <aleonard at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/24e586a04368a76cd9f37aa783b974b9e0351d58
Stats: 265 lines in 4 files changed: 250 ins; 2 del; 13 mod
8276764: Enable deterministic file content ordering for Jar and Jmod
Reviewed-by: mchung, ihse
-------------
PR: https://git.openjdk.java.net/jdk/pull/6395
More information about the core-libs-dev
mailing list