On Thu, 18 Nov 2021 09:32:04 GMT, Andrew Leonard <[email protected]> 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

Reply via email to