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

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

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 13
    • Component/s: core-libs
    • Subcomponent:
    • Resolved In Build:
      b14

      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

              • Assignee:
                alanb Alan Bateman
                Reporter:
                alanb Alan Bateman
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: