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.
------------- Commit messages: - Expect at least jar file's name in error message - Use provided error writer - Use LF as line separator - 8281104: Add happy-path and expected-to-fail tests - 8281104: jar --create should create missing parent directories Changes: https://git.openjdk.java.net/jdk/pull/7327/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=7327&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8281104 Stats: 124 lines in 2 files changed: 119 ins; 0 del; 5 mod Patch: https://git.openjdk.java.net/jdk/pull/7327.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/7327/head:pull/7327 PR: https://git.openjdk.java.net/jdk/pull/7327