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

Lance Andersen lancea at openjdk.org
Mon Sep 30 11:40:35 UTC 2024


On Fri, 27 Sep 2024 01:42:26 GMT, Henry Jen <henryjen at openjdk.org> wrote:

>> src/jdk.jartool/share/classes/sun/tools/jar/resources/jar.properties line 169:
>> 
>>> 167:         extracted: {0}
>>> 168: out.kept=\
>>> 169:         \ \ skipped: {0}
>> 
>> We might want to add a bit more wording to indicate it is being skipped due to the file already existing on disk
>
> I follow existing pattern with short status update. Open to suggestions.

Perhaps something like:

` \ \  file: {0}  exists, skipped`

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

PR Review Comment: https://git.openjdk.org/jdk/pull/21141#discussion_r1780957293


More information about the core-libs-dev mailing list