[ https://issues.apache.org/jira/browse/PROTON-698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14147941#comment-14147941 ]
ASF subversion and git services commented on PROTON-698: -------------------------------------------------------- Commit 1627570 from [~gemmellr] in branch 'proton/trunk' [ https://svn.apache.org/r1627570 ] PROTON-698: return false if given object class differs, and shortcut equality of the object with itself > 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)