--- a/src/java.base/share/classes/sun/nio/ch/SocketChannelImpl.java Tue Oct 29 08:26:48 2019 +0000
+++ b/src/java.base/share/classes/sun/nio/ch/SocketChannelImpl.java Tue Oct 29 19:23:09 2019 +0000
@@ -64,7 +64,7 @@
* An implementation of SocketChannels
*/
-public abstract class SocketChannelImpl
+abstract class SocketChannelImpl
extends SocketChannel
implements SelChImpl
{
@@ -118,13 +118,13 @@
// Constructor for normal connecting sockets
//
- public SocketChannelImpl(SelectorProvider sp) throws IOException {
+ SocketChannelImpl(SelectorProvider sp) throws IOException {
super(sp);
this.fd = Net.socket(true);
this.fdVal = IOUtil.fdVal(fd);
}
- public SocketChannelImpl(SelectorProvider sp, FileDescriptor fd)
+ SocketChannelImpl(SelectorProvider sp, FileDescriptor fd)
throws IOException
{
super(sp);
@@ -765,13 +765,6 @@
}
}
- /**
- * Package private version called from InheritedChannel
- */
- void localImplCloseSelectableChannel() throws IOException {
- implCloseSelectableChannel();
- }
-
@Override
public SocketChannel shutdownInput() throws IOException {
synchronized (stateLock) {