Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8130242

DataFlavorComparator transitivity exception

    Details

    • Subcomponent:
    • Resolved In Build:
      b76

      Backports

        Description

         run closed/java/awt/Clipboard/HTMLTransferTest/HTMLTransferTest.html causes

        java.lang.IllegalArgumentException: Comparison method violates its general contract!
                at java.util.TimSort.mergeHi(TimSort.java:899)
                at java.util.TimSort.mergeAt(TimSort.java:516)
                at java.util.TimSort.mergeForceCollapse(TimSort.java:457)
                at java.util.TimSort.sort(TimSort.java:254)
                at java.util.Arrays.sort(Arrays.java:1438)
                at sun.awt.datatransfer.DataTransferer.setToSortedDataFlavorArray(DataTransferer.java:1977)

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  ssadetsky Semyon Sadetsky
                  Reporter:
                  ssadetsky Semyon Sadetsky
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: