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

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: 11
    • Component/s: 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)*----------

            Assignee:
            Alan Bateman
            Reporter:
            Chris Hegarty
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: