jdk/test/java/awt/datatransfer/DataFlavor/EqualsHashCodeSymmetryTest/EqualsHashCodeSymmetryTest.java
equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
26 /** |
26 /** |
27 * @test |
27 * @test |
28 * @bug 8038999 |
28 * @bug 8038999 |
29 * @summary DataFlavor.equals is not symmetric |
29 * @summary DataFlavor.equals is not symmetric |
30 * @author Petr Pchelko <petr.pchelko@oracle.com> |
30 * @author Petr Pchelko <petr.pchelko@oracle.com> |
|
31 * @modules java.datatransfer |
31 */ |
32 */ |
32 public class EqualsHashCodeSymmetryTest { |
33 public class EqualsHashCodeSymmetryTest { |
33 |
34 |
34 private static final DataFlavor[] dataFlavors = { |
35 private static final DataFlavor[] dataFlavors = { |
35 DataFlavor.stringFlavor, |
36 DataFlavor.stringFlavor, |