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

ServerSocket::isClosed may return false after accept throws

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • P3
    • Resolution: Fixed
    • 18
    • 18
    • core-libs
    • b27
    • Verified

    Backports

      Description

        A side effect of JDK-8278270 is that isClosed will return false while close is in progress. This may be observed in cases where accept wakes up due to an async close and the code tests isClosed.

        The SOCKS code used in the test sun/security/x509/URICertStore/ExtensionsWithLDAP.java seems to do this, this test is now failing intermittently.

        Attachments

          Issue Links

            Activity

              People

                alanb Alan Bateman
                alanb Alan Bateman
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: