<AWT Dev> [9] Review Request: 8038999 In Java 8 java.awt.datatransfer.DataFlavor.equals is no longer symmetric
Sergey Bylokhov
Sergey.Bylokhov at oracle.com
Wed Apr 2 12:25:33 UTC 2014
Hi, Petr.
The fix looks good.
Can you split 'initialize' line before the push, please.
Thanks!
On 4/2/14 2:28 PM, Petr Pchelko wrote:
> Hello,
>
> I quick follow-up. Please review a new version here: http://cr.openjdk.java.net/~pchelko/9/8038999/webrev.01/
>
> I've used Objects.equals as it looks better.
>
> With best regards. Petr.
>
> On 02.04.2014, at 13:19, Petr Pchelko <petr.pchelko at oracle.com> wrote:
>
>> Hello, AWT Team.
>>
>> The bug: https://bugs.openjdk.java.net/browse/JDK-8038999
>> The fix: http://cr.openjdk.java.net/~pchelko/9/8038999/webrev/
>>
>> After adding HTML data flavors the equals is not symmetric any more. I've also updated the hashCode, to avoid unnecessary hash collisions.
>> Also I've fixed an annoying broken javadoc link..
>>
>> With best regards. Petr.
--
Best regards, Sergey.
More information about the awt-dev
mailing list