Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-698

ClassCastException occurs when testing equality of Binary instance against a different type of Object

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • proton-0.7
    • proton-0.8
    • proton-j
    • None

    Description

      If you call equals on a Binary instance with another type of Object, a ClassCastException results because Binary#equals(..) does an unchecked cast.

      Attachments

        Activity

          People

            robbie Robbie Gemmell
            robbie Robbie Gemmell
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: