JDK-8220493 : Prepare Socket/ServerSocket for alternative platform SocketImpl
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.net
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2019-03-12
  • Updated: 2019-06-06
  • Resolved: 2019-03-16
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 13
13 b13Fixed
Related Reports
CSR :  
Duplicate :  
Duplicate :  
Relates :  
Relates :  
Sub Tasks
JDK-8225154 :  
Description
The niosocketimpl-branch in the jdk/sandbox repo has accumulated a lot changes to support a NIO based SocketImpl (see JDK-8218559). Some of these changes should be brought to jdk/jdk in advance of the JEP to reduce the size of the overall patch and to make the changes easier to review. In particular, the following changes can be brought to jdk/jdk in advance of the JEP:

1. Changes to java.net.Socket to wrap the socket input/output streams. This includes changes to the JFR instrumentation.

2. Changes to the SOCKS and HTTP SocketImpls so that they delegate to the platform SocketImpl.

3. Changes to ServerSocket.accept to reduce the combinations of SocketImpls that are supported.

4. A new test that exercise all combinations of SocketImpl.