--- old/src/java.base/share/classes/sun/nio/ch/IOUtil.java 2018-11-30 08:32:50.768540559 -0500 +++ new/src/java.base/share/classes/sun/nio/ch/IOUtil.java 2018-11-30 08:32:50.444540580 -0500 @@ -43,7 +43,7 @@ private IOUtil() { } // No instantiation - static int write(FileDescriptor fd, ByteBuffer src, long position, + public static int write(FileDescriptor fd, ByteBuffer src, long position, NativeDispatcher nd) throws IOException { @@ -123,8 +123,8 @@ return write(fd, bufs, 0, bufs.length, false, -1, nd); } - static long write(FileDescriptor fd, ByteBuffer[] bufs, int offset, int length, - NativeDispatcher nd) + public static long write(FileDescriptor fd, ByteBuffer[] bufs, int offset, + int length, NativeDispatcher nd) throws IOException { return write(fd, bufs, offset, length, false, -1, nd); @@ -216,7 +216,7 @@ } } - static int read(FileDescriptor fd, ByteBuffer dst, long position, + public static int read(FileDescriptor fd, ByteBuffer dst, long position, NativeDispatcher nd) throws IOException { @@ -286,8 +286,8 @@ return read(fd, bufs, 0, bufs.length, false, -1, nd); } - static long read(FileDescriptor fd, ByteBuffer[] bufs, int offset, int length, - NativeDispatcher nd) + public static long read(FileDescriptor fd, ByteBuffer[] bufs, int offset, + int length, NativeDispatcher nd) throws IOException { return read(fd, bufs, offset, length, false, -1, nd);