RFR: 8258117: jar tool sets the time stamp of module-info.class entries to the current time [v5]
Jaikiran Pai
jpai at openjdk.java.net
Mon Nov 22 09:13:56 UTC 2021
On Mon, 22 Nov 2021 09:09:37 GMT, Jaikiran Pai <jpai at 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
More information about the compiler-dev
mailing list