Guest created FLEX-34399:
----------------------------
Summary: flash.swf.types.Rect gives different hashCode for
.equal() instances
Key: FLEX-34399
URL: https://issues.apache.org/jira/browse/FLEX-34399
Project: Apache Flex
Issue Type: Bug
Affects Versions: Apache Flex 4.12.1
Reporter: Guest
Suppose two Rect objects have all the same coordinates.
Compare their hashCode and compare them with equals.
Actual result:
.equals() returns true
.hashCode() returns different values, because it incorporates Object's hashCode
https://github.com/apache/flex-sdk/blob/develop/modules/swfutils/src/java/flash/swf/types/Rect.java#L105
Expected result:
.hashCode() is the same for both instances
--
This message was sent by Atlassian JIRA
(v6.2#6252)