[jdk8u-dev] RFR: 8335912: Add an operation mode to the jar command when extracting to not overwriting existing files [v4]
SendaoYan
syan at openjdk.org
Sun Dec 8 02:08:42 UTC 2024
On Wed, 4 Dec 2024 19:19:10 GMT, Alexey Bakhtin <abakhtin at openjdk.org> wrote:
>> Not clean backport from JDK11 patch:
>> - No GNUStyle options in JDK8
>> - No support for long options
>> - Tests updated to use JDK8 API
>> - Removed subtest for long option
>>
>> JTREG tests passed
>
> Alexey Bakhtin has updated the pull request incrementally with one additional commit since the last revision:
>
> Fix ExtractFilesTest test
The two newly added tests fails.
Tests:
tools/jar/ExtractFilesTest.java
tools/jar/MultipleManifestTest.java
Test log snippet:
/tmp/tone/run/jtreg/jdk-repo/jdk/test/tools/jar/ExtractFilesTest.java:38: error: package org.junit.jupiter.api does not exist
import org.junit.jupiter.api.TestInstance;
^
/tmp/tone/run/jtreg/jdk-repo/jdk/test/tools/jar/ExtractFilesTest.java:39: error: package org.junit.jupiter.api.TestInstance does not exist
import org.junit.jupiter.api.TestInstance.Lifecycle;
^
/tmp/tone/run/jtreg/jdk-repo/jdk/test/tools/jar/ExtractFilesTest.java:54: error: cannot find symbol
@TestInstance(Lifecycle.PER_CLASS)
^
symbol: class TestInstance
-------------
PR Comment: https://git.openjdk.org/jdk8u-dev/pull/608#issuecomment-2525379337
More information about the jdk8u-dev
mailing list