RFR: 8157524 Revert JarFile methods "entries" and "stream" to Java 8 behavior

Steve Drach steve.drach at oracle.com
Fri Jul 15 21:17:02 UTC 2016


Hi,

Please review this change to JarFile that reverts JarFile::stream and JarFile::entries to JDK 8 behavior.  The code is identical to that in JDK 8 except line 504 in JarEntryIterator that now uses a different constructor to create a JarFileEntry.  I also added some implementation notes explaining how to create a versionedStream and a versionedEntries method.

issue: https://bugs.openjdk.java.net/browse/JDK-8157524 <https://bugs.openjdk.java.net/browse/JDK-8157524>
webrev: http://cr.openjdk.java.net/~sdrach/8157524/webrev/index.html <http://cr.openjdk.java.net/~sdrach/8157524/webrev/index.html>

Thanks,
Steve



More information about the core-libs-dev mailing list