You are viewing a plain text version of this content. The canonical link for it is here.
Posted to proton@qpid.apache.org by "Robbie Gemmell (JIRA)" <ji...@apache.org> on 2014/09/25 18:32:33 UTC

[jira] [Created] (PROTON-698) ClassCastException occurs when testing equality of Binary instance against a different type of Object

Robbie Gemmell created PROTON-698:
-------------------------------------

             Summary: ClassCastException occurs when testing equality of Binary instance against a different type of Object
                 Key: PROTON-698
                 URL: https://issues.apache.org/jira/browse/PROTON-698
             Project: Qpid Proton
          Issue Type: Bug
          Components: proton-j
    Affects Versions: 0.7
            Reporter: Robbie Gemmell
            Assignee: Robbie Gemmell
             Fix For: 0.8


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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)