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

test/jdk/java/net/Socket/LingerTest.java fails with cleaning up

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 12
    • Fix Version/s: 12
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b14

      Description

      ----------System.out:(11/180)----------
      Sender starts
      Main sleep 1000
      Sender ends
      Other starts: sleep 5000
      Main continue
      Main sleep 15000
      Closer starts
      Other opening socket
      Other ends
      Main closing serversocket
      Main ends
      ----------System.err:(14/661)----------

      JavaTest Message: Test complete.


      JavaTest Message: Problem cleaning up the following threads:
      Thread-17
        at java.base@12-internal/java.net.PlainSocketImpl.socketClose0(Native Method)
        at java.base@12-internal/java.net.AbstractPlainSocketImpl.socketPreClose(AbstractPlainSocketImpl.java:706)
        at java.base@12-internal/java.net.AbstractPlainSocketImpl.close(AbstractPlainSocketImpl.java:569)
        at java.base@12-internal/java.net.SocksSocketImpl.close(SocksSocketImpl.java:1082)
        at java.base@12-internal/java.net.Socket.close(Socket.java:1495)
        at LingerTest$Closer.run(LingerTest.java:65)
        at java.base@12-internal/java.lang.Thread.run(Thread.java:835)

      result: Error. Error while cleaning up threads after test


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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                chegar Chris Hegarty
                Reporter:
                chegar Chris Hegarty
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: