JDK-8234103 : DatagramSocketImpl::socket is not needed
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.net
  • Affected Version: 14
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2019-11-13
  • Updated: 2020-02-12
  • Resolved: 2019-11-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 14
14 b25Fixed
Related Reports
Blocks :  
Relates :  
Description
DatagramSocketImpl has a socket field that links back to the DatagramSocket. This is only used to figure out whether multicasting is supported or not, and could be replaced by a final boolean isMulticast field in AbstractPlainDatagramSocketImpl instead.
Comments
This changeset accidentally included the source code changes from JDK-8234083 which had already been reviewed (but not yet pushed). See https://bugs.openjdk.java.net/browse/JDK-8234083?focusedCommentId=14302025&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14302025
22-11-2019

URL: https://hg.openjdk.java.net/jdk/jdk/rev/a686b67a59d9 User: dfuchs Date: 2019-11-21 11:44:48 +0000
21-11-2019