On Fri, 27 Sep 2024 01:41:33 GMT, Henry Jen <henry...@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 test/jdk/tools/jar/ExtractFilesTest.java line 168: > 166: > 167: private Stream<Path> mkpath(String... args) { > 168: return Arrays.stream(args).map(d -> Paths.get(".", > d.split("/"))); For newer code usages, like this one, it's recommended to use `Path.of(...)` instead of `Paths.get(...)`. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/21141#discussion_r1779494948