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

ServerSocket::isClosed may return false after accept throws

XMLWordPrintable

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

        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.

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

                Created:
                Updated:
                Resolved: