RFR: 8276764: Enable deterministic file content ordering for Jar and Jmod [v3]

Andrew Leonard aleonard at openjdk.java.net
Fri Nov 19 20:30:12 UTC 2021


On Fri, 19 Nov 2021 17:11:24 GMT, Mandy Chung <mchung at openjdk.org> wrote:

>> 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>
>
> test/jdk/tools/jar/ContentOrder.java line 89:
> 
>> 87:         jar("cf test.jar testjar");
>> 88:         jar("tf test.jar");
>> 89:         println();
> 
> Suggestion:
> 
>         System.out.println(new String(baos.toByteArray()));
> 
> 
> You can simply print the output from `jar tf` command here and the `println` method isn't really needed.

done

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

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


More information about the core-libs-dev mailing list