- 
    Bug 
- 
    Resolution: Fixed
- 
     P4 P4
- 
    11, 12
- 
        b10
- 
        windows
                    java/nio/channels/Selector/RegisterDuringSelect.java fails with "key not removed from key set"
----------System.out:(6/118)----------
register ...
interestOps ...
selectLoop advanced ...
selectLoop advanced ...
cancel ...
selectLoop advanced ...
----------System.err:(12/742)----------
java.lang.RuntimeException: key not removed from key set
at RegisterDuringSelect.main(RegisterDuringSelect.java:100)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:229)
at java.base/java.lang.Thread.run(Thread.java:834)
----------System.out:(6/118)----------
register ...
interestOps ...
selectLoop advanced ...
selectLoop advanced ...
cancel ...
selectLoop advanced ...
----------System.err:(12/742)----------
java.lang.RuntimeException: key not removed from key set
at RegisterDuringSelect.main(RegisterDuringSelect.java:100)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:229)
at java.base/java.lang.Thread.run(Thread.java:834)
- relates to
- 
                    JDK-8152814 java/nio/channels/Selector/SelectAndClose.java fails intermittently -           
- Closed
 
-