A DESCRIPTION OF THE REQUEST :
The detail message associated with ClassCastException should always indicate the actual and expected type of the object being casted.
JUSTIFICATION :
It is impossible to fix ClassCastExceptions without knowing the actual and expect types. Currently the only way to fix such bugs is to reproduce the issue in a debugger, something that is not always possible or easy to do.
The detail message associated with ClassCastException should always indicate the actual and expected type of the object being casted.
JUSTIFICATION :
It is impossible to fix ClassCastExceptions without knowing the actual and expect types. Currently the only way to fix such bugs is to reproduce the issue in a debugger, something that is not always possible or easy to do.
- duplicates
-
JDK-5069708 ClassCastException should have required-class and actual-class properties
-
- Open
-