<AWT Dev>  Review Request: 8038999 In Java 8 java.awt.datatransfer.DataFlavor.equals is no longer symmetric
anthony.petrov at oracle.com
Wed Apr 2 19:13:55 UTC 2014
Looks good to me.
On 4/2/2014 2:28 PM, Petr Pchelko wrote:
> 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