diff -r 931799bfbc10 src/jdk.zipfs/share/classes/module-info.java --- a/src/jdk.zipfs/share/classes/module-info.java Tue Sep 10 12:51:05 2019 -0700 +++ b/src/jdk.zipfs/share/classes/module-info.java Thu Sep 19 09:57:54 2019 -0400 @@ -147,7 +147,7 @@ * * * create - * java.lang.String + * {@link java.lang.String} or {@link java.lang.Boolean} * false * * If the value is {@code true}, the Zip file system provider @@ -156,7 +156,7 @@ * * * encoding - * java.lang.String + * {@link java.lang.String} * UTF-8 * * The value indicates the encoding scheme for the @@ -164,8 +164,8 @@ * * * - * enablePosixFileAttributes - * java.lang.String + * enablePosixFileAttributes + * {@link java.lang.String} or {@link java.lang.Boolean} * false * * If the value is {@code true}, the Zip file system will support @@ -173,8 +173,9 @@ * * * - * defaultOwner - * {@link java.nio.file.attribute.UserPrincipal UserPrincipal}
or java.lang.String + * defaultOwner + * {@link java.nio.file.attribute.UserPrincipal UserPrincipal}
or + * {@link java.lang.String} * null/unset * * Override the default owner for entries in the Zip file system.
@@ -182,8 +183,9 @@ * * * - * defaultGroup - * {@link java.nio.file.attribute.GroupPrincipal GroupPrincipal}
or java.lang.String + * defaultGroup + * {@link java.nio.file.attribute.GroupPrincipal GroupPrincipal}
or + * {@link java.lang.String} * null/unset * * Override the the default group for entries in the Zip file system.
@@ -191,9 +193,9 @@ * * * - * defaultPermissions + * defaultPermissions * {@link java.util.Set Set}<{@link java.nio.file.attribute.PosixFilePermission PosixFilePermission}>
- * or java.lang.String + * or {@link java.lang.String} * null/unset * * Override the default Set of permissions for entries in the Zip file system.
@@ -201,7 +203,51 @@ * a String that is parsed by {@link java.nio.file.attribute.PosixFilePermissions#fromString PosixFilePermissions::fromString} * * - * + * + * noCompression + * {@link java.lang.String} or {@link java.lang.Boolean}n + * false + * + * If the value is {@code true}, the Zip file system provider will + * not compress entries when writing to the Zip file system. + * If the value is {@code false}, the Zip file system provider will + * use data compression when writing entries to the Zip file system. + * + * + * + * releaseVersion + * {@link java.lang.String} or {@link java.lang.Integer} or + * {@link java.lang.Runtime.Version} + * null/unset + * + * A value representing the version entry to use when accessing a + * multi-release JAR. If the JAR is not a multi-release JAR, the value + * will be ignored and the JAR will considered un-versioned. + *

+ * + *

+ * + * + * * * *

Examples:

@@ -223,7 +269,7 @@ *
  * {@code
  *
- *     FileSystem zipfs = FileSystems.newFileSystem(Path.of("helloworld.jar"), null);
+ *     FileSystem zipfs = FileSystems.newFileSystem(Path.of("helloworld.jar"));
  *     Path rootDir = zipfs.getPath("/");
  *     Files.walk(rootDir)
  *            .forEach(System.out::println);