RFR: 8281104: jar --create should create missing parent directories

Christian Stein cstein at openjdk.java.net
Fri Feb 4 21:58:51 UTC 2022


On Wed, 2 Feb 2022 20:21:54 GMT, Christian Stein <cstein at openjdk.org> wrote:

> Calling `jar --create --file a/b/foo.jar INPUT-FILES` should create missing parent directories (here `a/b`) on the default file system before storing the JAR file (here `foo.jar`) in the destination directory.

Should I also extend this "usage.compat" help message block? When and where is it displayed? �� 

https://github.com/openjdk/jdk/blob/48523b090886f7b24ed4009f0c150efaa6f7b056/src/jdk.jartool/share/classes/sun/tools/jar/resources/jar.properties#L167-L173

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

PR: https://git.openjdk.java.net/jdk/pull/7327


More information about the compiler-dev mailing list