<AWT Dev> [9] Review Request: 8038999 In Java 8 java.awt.datatransfer.DataFlavor.equals is no longer symmetric

Petr Pchelko petr.pchelko at oracle.com
Wed Apr 2 10:28:28 UTC 2014


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.



More information about the awt-dev mailing list