JDK-8024952 : ClassCastException in PlainSocketImpl.accept() when using custom socketImpl
  • Type: Bug
  • Status: Closed
  • Resolution: Fixed
  • Component: core-libs
  • Sub-Component: java.net
  • Priority: P2
  • Affected Version: 7u25
  • OS: windows
  • CPU: generic
  • Submit Date: 2013-09-17
  • Updated Date: 2014-02-12
  • Resolved Date: 2013-10-02
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 Availabitlity Release.

To download the current JDK release, click here.
JDK 7 JDK 8
7u60Fixed 8 b112Fixed
Description
SHORT SUMMARY: ClassCastException in PlainSocketImpl.accept() when using custom socketImpl

INDICATORS: ClassCastException seen on windows if a custom socketImpl is implemented.

COUNTER INDICATORS:
TRIGGERS:
KNOWN WORKAROUND: N/A
PRESENT SINCE: JDK 7 GA
HOW TO VERIFY: New auto unit testcase is possible for this issue.
.
NOTES FOR SE:
REGRESSION:
Comments
Should only cast if the given SocketImpl is an instanceof PlainSocketImpl, otherwise simply delegate. Currently under review on net-dev: http://mail.openjdk.java.net/pipermail/net-dev/2013-September/007325.html
2013-09-27