Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8200114

com/sun/net/httpserver/bugs/6725892/Test.java fails with AssertionError Unexpected non-readable key

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 11
    • core-libs

      ----------System.out:(44/1312)----------
      Server on port 55502
      test1: OK
      Request from: /127.0.0.1:55508
      test2: OK
      Request from: /127.0.0.1:56576
      ...
      Request from: /127.0.0.1:56625
      ----------System.err:(4/495)----------
      java.lang.AssertionError: Unexpected non-readable key:channel=java.nio.channels.SocketChannel[closed], selector=sun.nio.ch.KQueueSelectorImpl@710899a8, invalid
      at jdk.httpserver/sun.net.httpserver.ServerImpl$Dispatcher.run(ServerImpl.java:410)
      at java.base/java.lang.Thread.run(Thread.java:841)
      STATUS:Failed.`main' threw exception: java.lang.AssertionError: Unexpected non-readable key:channel=java.nio.channels.SocketChannel[closed], selector=sun.nio.ch.KQueueSelectorImpl@710899a8, invalid
      ----------rerun:(33/4490)*----------

            alanb Alan Bateman
            chegar Chris Hegarty
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: