JDK-8016051 : Possible ClassCastException in KdcComm
Type:Bug
Component:security-libs
Sub-Component:org.ietf.jgss:krb5
Priority:P5
Status:Closed
Resolution:Fixed
Submitted:2013-06-06
Updated:2013-07-17
Resolved:2013-06-25
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.
In KdcComm.java there is a chance that the exception thrown is neither a KrbException nor an IOException, but some kind of RuntimeException (say, SecurityException). The cast on line 253 would cause a ClassCastException.