--- a/src/java.base/windows/classes/sun/nio/ch/SocketDispatcher.java Tue Oct 29 19:23:09 2019 +0000
+++ b/src/java.base/windows/classes/sun/nio/ch/SocketDispatcher.java Tue Oct 29 19:55:34 2019 +0000
@@ -36,13 +36,13 @@
* for read and write operations.
*/
-public class SocketDispatcher extends NativeDispatcher {
+class SocketDispatcher extends NativeDispatcher {
private static final JavaIOFileDescriptorAccess fdAccess =
SharedSecrets.getJavaIOFileDescriptorAccess();
- public SocketDispatcher() { }
+ SocketDispatcher() { }
- public int read(FileDescriptor fd, long address, int len) throws IOException {
+ int read(FileDescriptor fd, long address, int len) throws IOException {
return read0(fd, address, len);
}
@@ -50,7 +50,7 @@
return readv0(fd, address, len);
}
- public int write(FileDescriptor fd, long address, int len) throws IOException {
+ int write(FileDescriptor fd, long address, int len) throws IOException {
return write0(fd, address, len);
}
@@ -58,11 +58,11 @@
return writev0(fd, address, len);
}
- public void preClose(FileDescriptor fd) throws IOException {
+ void preClose(FileDescriptor fd) throws IOException {
throw new UnsupportedOperationException();
}
- public void close(FileDescriptor fd) throws IOException {
+ void close(FileDescriptor fd) throws IOException {
invalidateAndClose(fd);
}