RFR: 8335912: Add an operation mode to the jar command when extracting to not overwriting existing files [v4]
Lance Andersen
lancea at openjdk.org
Mon Sep 30 11:26:36 UTC 2024
On Fri, 27 Sep 2024 01:41:33 GMT, Henry Jen <henryjen at openjdk.org> wrote:
>> This PR support a -k, --keep options like tar that allows jar to avoid override existing files.
>
> Henry Jen has updated the pull request incrementally with one additional commit since the last revision:
>
> Address review feedbacks
src/jdk.jartool/share/classes/sun/tools/jar/Main.java line 587:
> 585: break;
> 586: case 'k':
> 587: kflag = true;
I am wondering if a warning should be displayed if this options is specified with any option other than 'x'
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/21141#discussion_r1780928849
More information about the core-libs-dev
mailing list