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

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

XMLWordPrintable

    • b14

        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

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

                Created:
                Updated:
                Resolved: