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

java/nio/channels/DatagramChannel/EmptyBuffer.java fails with Thread cleanup issue

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3
    • tbd
    • 21, 22
    • core-libs

    Description

      Either the interrupt is not delivered correctly, OR the DatagramChannel receive failed to respond to the interrupt

      Client: /100.101.198.232:50045
      RECV
      000100000001
      Client: /100.101.198.232:50045
      RECV
      000100000001
      Client: /100.101.198.232:50045
      RECV
      000100000001

      JavaTest Message: Test complete.


      JavaTest Message: Problem cleaning up the following threads:
      Thread-2
      Took expected exit
        at java.base/sun.nio.ch.DatagramChannelImpl.receive0(Native Method)
        at java.base/sun.nio.ch.DatagramChannelImpl.receiveIntoNativeBuffer(DatagramChannelImpl.java:797)
        at java.base/sun.nio.ch.DatagramChannelImpl.receive(DatagramChannelImpl.java:781)
        at java.base/sun.nio.ch.DatagramChannelImpl.receive(DatagramChannelImpl.java:585)
        at EmptyBuffer$Server.run(EmptyBuffer.java:122)
        at java.base/java.lang.Thread.run(Thread.java:1583)

      result: Error. Error while cleaning up threads after test


      test result: Error. Error while cleaning up threads after test

      Attachments

        Activity

          People

            msheppar Mark Sheppard
            msheppar Mark Sheppard
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: