diff -r eb491334113f -r 119ac9128c1b src/java.base/unix/classes/sun/nio/ch/DatagramDispatcher.java --- a/src/java.base/unix/classes/sun/nio/ch/DatagramDispatcher.java Fri Oct 25 14:50:16 2019 +0100 +++ b/src/java.base/unix/classes/sun/nio/ch/DatagramDispatcher.java Fri Oct 25 15:56:35 2019 +0100 @@ -39,7 +39,7 @@ IOUtil.load(); } - int read(FileDescriptor fd, long address, int len) throws IOException { + public int read(FileDescriptor fd, long address, int len) throws IOException { return read0(fd, address, len); } @@ -47,7 +47,7 @@ return readv0(fd, address, len); } - int write(FileDescriptor fd, long address, int len) throws IOException { + public int write(FileDescriptor fd, long address, int len) throws IOException { return write0(fd, address, len); } @@ -55,11 +55,11 @@ return writev0(fd, address, len); } - void close(FileDescriptor fd) throws IOException { + public 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); }