[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-2d-dev
Subject:    Re: equals inconsistent with hashCode in AffineTransform
From:       Philip Race <philip.race () oracle ! com>
Date:       2022-07-25 17:13:08
Message-ID: a7c463f0-dcec-84ec-6c1b-da40720b675d () oracle ! com
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic