[jdk11u-dev] RFR: 8335912: Add an operation mode to the jar command when extracting to not overwriting existing files

Andrew John Hughes andrew at openjdk.org
Fri Dec 6 00:06:47 UTC 2024


On Mon, 25 Nov 2024 23:04:54 GMT, Alexey Bakhtin <abakhtin at openjdk.org> wrote:

> Almost clean backport from JDK17u
> 
> The only trivial manual merge is for jar.properties because of JDK-8276766 and Main.java because of JDK-8266835 are not backported to JDK11
> 
> JTREG tests passed

Backport also cherry-picks `OptionType.EXTRACT` from by [JDK-8173970](https://bugs.openjdk.org/browse/JDK-8173970). This is only mentioned in the obsolete 23u backport, but affects 11,17 & 21 when compared to trunk.

I'll approve this once #2975 is integrated.

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

Marked as reviewed by andrew (Reviewer).

PR Review: https://git.openjdk.org/jdk11u-dev/pull/2970#pullrequestreview-2483298537


More information about the jdk-updates-dev mailing list