]
Christian Bauer resolved HHH-2725.
----------------------------------
Resolution: Cannot Reproduce
ok...
ByteType.equals(Object, Object) wrong comparison
------------------------------------------------
Key: HHH-2725
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2725
Project: Hibernate3
Issue Type: Bug
Components: core
Affects Versions: 3.2.4
Reporter: Daniel Frey
Original Estimate: 1 minute
Remaining Estimate: 1 minute
was trying to update an object that has been altered in byte array fields. So probably I
found a serious bug in ByteType.equals(Object, Object):35
ByteTypeContent xi = (ByteTypeContent) x;
ByteTypeContent yi = (ByteTypeContent) x;
return xi.equals(yi);
Should probably read:
ByteTypeContent xi = (ByteTypeContent) x;
ByteTypeContent yi = (ByteTypeContent) y; // <----!
return xi.equals(yi);
What do you think?
Cheers
Daniel
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: