RFR: 8276764: Enable deterministic file content ordering for Jar and Jmod [v2]
Andrew Leonard
aleonard at openjdk.java.net
Fri Nov 19 09:58:28 UTC 2021
On Thu, 18 Nov 2021 23:49:46 GMT, Mandy Chung <mchung at openjdk.org> wrote:
>> Andrew Leonard has updated the pull request incrementally with two additional commits since the last revision:
>>
>> - 8276764: Enable deterministic file content ordering for Jar and Jmod
>>
>> Signed-off-by: Andrew Leonard <anleonar at redhat.com>
>> - 8276764: Enable deterministic file content ordering for Jar and Jmod
>>
>> Signed-off-by: Andrew Leonard <anleonar at redhat.com>
>
> src/jdk.jartool/share/classes/sun/tools/jar/Main.java line 130:
>
>> 128:
>> 129: // There's also a files array per version
>> 130: // Use a LinkedHashMap to keep original insertion ordering
>
> Suggestion:
>
> // base version is the first entry and then follow with the version given
> // from the --release option in the command-line order.
> // The value of each entry is the files given in the command-line order.
done
-------------
PR: https://git.openjdk.java.net/jdk/pull/6395
More information about the compiler-dev
mailing list