< prev index next >

src/java.base/share/classes/sun/nio/ch/ServerSocketChannelImpl.java

Print this page
rev 48757 : [mq]: nio-cleanup

@@ -60,14 +60,11 @@
     // Used to make native close and configure calls
     private static NativeDispatcher nd;
 
     // Our file descriptor
     private final FileDescriptor fd;
-
-    // fd value needed for dev/poll. This value will remain valid
-    // even after the value in the file descriptor object has been set to -1
-    private int fdVal;
+    private final int fdVal;
 
     // ID of native thread currently blocked in this channel, for signalling
     private volatile long thread;
 
     // Lock held by thread currently blocked in this channel
< prev index next >