ClassCastException should indicate actual and expected classes

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: 6u24, 8
    • Component/s: core-libs
    • generic, x86
    • generic, windows_7

      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.

            Assignee:
            Joe Darcy
            Reporter:
            Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: