On Mon, 22 Nov 2021 09:09:37 GMT, Jaikiran Pai <j...@openjdk.org> wrote:
>> test/jdk/tools/jar/modularJar/JarToolModuleDescriptorReproducibilityTest.java >> line 60: >> >>> 58: private static final String UPDATED_MODULE_VERSION = "1.2.4"; >>> 59: private static final String MAIN_CLASS = "jdk.test.foo.Foo"; >>> 60: private static final Path MODULE_CLASSES_DIR = >>> Paths.get("8258117-module-classes", MODULE_NAME).toAbsolutePath(); >> >> You can use Path.of here. > > Done. Replaced this and one other place in this test to use `Path.of`. Test continues to pass with all these new changes. ------------- PR: https://git.openjdk.java.net/jdk/pull/5486