equals inconsistent with hashCode in AffineTransform
Philip Race
philip.race at oracle.com
Mon Jul 25 17:13:08 UTC 2022
I see my reply is one of several.
I have moved your incident so it is now a real bug id
https://bugs.openjdk.org/browse/JDK-8290973
Have you read : https://openjdk.org/guide/#fixing-a-bug ?
-phil.
On 7/25/22 10:02 AM, Philip Race wrote:
> The PR isn't valid - it isn't using a valid bug id so skara tooling
> hasn't marked it RFR,
> so no one has even noticed it ..
> Looks to me as if this is an incident ID not a bug id.
>
> -phil.
>
> On 7/25/22 5:04 AM, Martin Desruisseaux wrote:
>> Hello
>>
>> I'm not sure if the pull request below has been noticed, since I have
>> not seen evaluation. This is about the equals(Object) method being
>> inconsistent with hashCode() in the AffineTransform class. This bug
>> prevents the use of AffineTransform as keys in HashMap, unless
>> AffineTransform construction is well-controlled or some workaround is
>> applied before any use as key.
>>
>> There is 2 different ways to fix this bug. The one proposed in
>> current pull request tries to minimize the behavioral change compared
>> to current implementation.
>>
>> https://github.com/openjdk/jdk/pull/9121
>>
>> Martin
>>
>>
>
More information about the client-libs-dev
mailing list