RFR 8144355: JDK 9 changes to ZipFileSystem to support multi-release jar files
Steve Drach
steve.drach at oracle.com
Mon Dec 14 17:14:02 UTC 2015
Hi,
I sent this out a week ago. Resending to bump it to the top of the stack.
Please review the changes and additions to ZipFileSystem to support multi-release jars as described in JEP 238 <http://openjdk.java.net/jeps/238>.
The strategy is, if a file system is created over a multi-release jar, a map of root entries to versioned entries for a specific platform release version is constructed. The desired platform release version is configured through the the env parameter given to the FileSystem.newFileSystem method. Then when a root entry is requested, the map is consulted and if a mapping is found, the corresponding versioned entry is returned. Very similar to symbolic links.
Issue: https://bugs.openjdk.java.net/browse/JDK-8144355 <https://bugs.openjdk.java.net/browse/JDK-8144355>
Change to modules.xml: http://cr.openjdk.java.net/~sdrach/8144355/top/webrev.00/index.html <http://cr.openjdk.java.net/~sdrach/8144355/top/webrev.00/index.html>
Changes to ZipFileSystem: http://cr.openjdk.java.net/~sdrach/8144355/jdk/webrev.00/index.html <http://cr.openjdk.java.net/~sdrach/8144355/jdk/webrev.00/index.html>
Thanks,
Steve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20151214/91bae184/attachment.html>
More information about the nio-dev
mailing list