--- old/src/java.base/share/classes/sun/misc/JavaUtilZipFileAccess.java 2015-05-18 18:36:20.683765421 -0700 +++ new/src/java.base/share/classes/sun/misc/JavaUtilZipFileAccess.java 2015-05-18 18:36:20.555765426 -0700 @@ -25,9 +25,14 @@ package sun.misc; +import java.io.IOException; +import java.nio.ByteBuffer; +import java.util.zip.ZipEntry; import java.util.zip.ZipFile; public interface JavaUtilZipFileAccess { public boolean startsWithLocHeader(ZipFile zip); + public ByteBuffer getByteBuffer(ZipFile zip, ZipEntry entry) throws IOException; + public ByteBuffer fillByteBuffer(ZipFile zip, ZipEntry entry, ByteBuffer buffer) throws IOException; }