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:39:33 UTC

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

     [ https://issues.apache.org/jira/browse/PROTON-698?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robbie Gemmell resolved PROTON-698.
-----------------------------------
    Resolution: Fixed

> 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)