On Thu, 17 Oct 2024 04:51:53 GMT, Jaikiran Pai <[email protected]> wrote:
>> Can I please get a review for this patch which proposes to implement the >> enhancement request noted in >> https://bugs.openjdk.java.net/browse/JDK-8173970? >> >> Edit: This PR description has now been updated to match the changes that >> were done over the course of review inputs that were received for this >> enhancement. >> >> The commit in this PR introduces the ability to use `jar` tool to extract >> the contents of the JAR file to a specific directory of choice. Optional >> `-C` and `--dir` options are added to the `-x` main operation of the jar >> tool. The value for these options is expected to be a file path which is >> expected to be a directory to which the jar will be extracted. When neither >> `-C` nor `--dir` are used, the extract operation of the jar tool will >> continue to behave like it did before this enhancement and will extract the >> jar into the current working directory. >> >> The commit also includes a jtreg testcase which verifies the usage of this >> new option. > > Jaikiran Pai has updated the pull request incrementally with one additional > commit since the last revision: > > Lance's man page inputs src/jdk.jartool/share/classes/sun/tools/jar/resources/jar.properties line 264: > 262: \ versions. > 263: main.help.opt.any=\ > 264: \ Operation modifiers valid in any mode:\n\ This text _valid in any mode_ was present in earlier releases but does not seem to have been true for `-C` with `-x`. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/2752#discussion_r2514095868
