--- old/src/java.base/unix/classes/sun/nio/ch/SocketDispatcher.java 2018-06-04 11:02:21.561275231 -0700 +++ new/src/java.base/unix/classes/sun/nio/ch/SocketDispatcher.java 2018-06-04 11:02:21.307275226 -0700 @@ -33,29 +33,29 @@ * for read and write operations. */ -class SocketDispatcher extends NativeDispatcher { +public class SocketDispatcher extends NativeDispatcher { - int read(FileDescriptor fd, long address, int len) throws IOException { + protected int read(FileDescriptor fd, long address, int len) throws IOException { return FileDispatcherImpl.read0(fd, address, len); } - long readv(FileDescriptor fd, long address, int len) throws IOException { + protected long readv(FileDescriptor fd, long address, int len) throws IOException { return FileDispatcherImpl.readv0(fd, address, len); } - int write(FileDescriptor fd, long address, int len) throws IOException { + protected int write(FileDescriptor fd, long address, int len) throws IOException { return FileDispatcherImpl.write0(fd, address, len); } - long writev(FileDescriptor fd, long address, int len) throws IOException { + protected long writev(FileDescriptor fd, long address, int len) throws IOException { return FileDispatcherImpl.writev0(fd, address, len); } - void close(FileDescriptor fd) throws IOException { + protected void close(FileDescriptor fd) throws IOException { FileDispatcherImpl.close0(fd); } - void preClose(FileDescriptor fd) throws IOException { + public void preClose(FileDescriptor fd) throws IOException { FileDispatcherImpl.preClose0(fd); } }