JDK-8221259 : New tests for java.net.Socket to exercise long standing behavior
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.net
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2019-03-21
  • Updated: 2021-09-22
  • Resolved: 2019-03-21
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11 JDK 13
11.0.14-oracleFixed 13 b14Fixed
Related Reports
Relates :  
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
Comments
Fix request (11u): Requesting to backport these additional tests for parity with Oracle 11.0.14. Patch applies cleanly. No risk, additional tests only. Testing: GHA and SAP internal testing.
21-09-2021

URL: http://hg.openjdk.java.net/jdk/jdk/rev/f10ca228b22f User: alanb Date: 2019-03-21 17:51:28 +0000
21-03-2019