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

New tests for java.net.Socket to exercise long standing behavior

    XMLWordPrintable

Details

    • b14

    Backports

      Description

        java.net.Socket has existing behavior that is not well exercised by the existing tests. Specifically this issue adds tests for

        - invoking shutdownInput/shutdownOutput when a thread is blocked in read/write
        - create a deprecated constructor that creates a UDP socket
        - connection reset, to test the behavior specified by Socket::getInputStream
        - timeout handling. The existing tests for timed connect, read and accept don't exercise many scenarios

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved: