src/java.base/windows/classes/sun/nio/ch/WindowsSelectorImpl.java
branchunixdomainchannels
changeset 58801 119ac9128c1b
parent 50602 ed8de3d0cd28
child 59004 84e08e00c29c
--- a/src/java.base/windows/classes/sun/nio/ch/WindowsSelectorImpl.java	Fri Oct 25 14:50:16 2019 +0100
+++ b/src/java.base/windows/classes/sun/nio/ch/WindowsSelectorImpl.java	Fri Oct 25 15:56:35 2019 +0100
@@ -401,7 +401,7 @@
                 // OOB data queued to the socket. If there is OOB data then it
                 // is discarded and the key is not added to the selected set.
                 if (isExceptFds &&
-                    (sk.channel() instanceof SocketChannelImpl) &&
+                    (sk.channel() instanceof InetSocketChannelImpl) &&
                     discardUrgentData(desc))
                 {
                     continue;