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

Andrew Leonard aleonard at openjdk.java.net
Fri Nov 19 09:58:32 UTC 2021


On Thu, 18 Nov 2021 09:32:04 GMT, Andrew Leonard <aleonard at openjdk.org> wrote:

>> test/jdk/tools/jar/ContentOrder.java line 79:
>> 
>>> 77:     @Test
>>> 78:     public void test1() throws IOException {
>>> 79:         mkdir("testjar/Ctest1 testjar/Btest2/subdir1 testjar/Atest3");
>> 
>> I suggest to make `mkdir` and `touch` to take a vararg of String or Path and the method body concatenates the input strings to build the command line.
>
> I copied this from another test, but your suggestion makes sense

fixed as suggested

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

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


More information about the compiler-dev mailing list