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

IllegalArgumentException in Win32ShellFolder2 while sorting

    Details

    • Subcomponent:
    • CPU:
      x86
    • OS:
      windows_vista

      Description

      FULL PRODUCT VERSION :
      1.8.0_40

      ADDITIONAL OS VERSION INFORMATION :
      Windows Vista

      A DESCRIPTION OF THE PROBLEM :
      java.lang.IllegalArgumentException: Comparison method violates its general contract!
      at java.util.TimSort.mergeHi(Unknown Source)
      at java.util.TimSort.mergeAt(Unknown Source)
      at java.util.TimSort.mergeCollapse(Unknown Source)
      at java.util.TimSort.sort(Unknown Source)
      at java.util.Arrays.sort(Unknown Source)
      at java.util.Vector.sort(Unknown Source)
      at java.util.Collections.sort(Unknown Source)
      at sun.awt.shell.Win32ShellFolder2$18.call(Unknown Source)
      at sun.awt.shell.Win32ShellFolder2$18.call(Unknown Source)
      at sun.awt.shell.Win32ShellFolderManager2$ComInvoker.invoke(Unknown Source)
      at sun.awt.shell.ShellFolder.invoke(Unknown Source)
      at sun.awt.shell.ShellFolder.invoke(Unknown Source)
      at sun.awt.shell.Win32ShellFolder2.sortChildren(Unknown Source)
      at sun.awt.shell.ShellFolder$1.call(Unknown Source)
      at sun.awt.shell.ShellFolder$1.call(Unknown Source)
      at java.util.concurrent.FutureTask.run(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      at sun.awt.shell.Win32ShellFolderManager2$ComInvoker$3.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)

      REGRESSION. Last worked in version 6u45


      REPRODUCIBILITY :
      This bug can be reproduced occasionally.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ssadetsky Semyon Sadetsky (Inactive)
                Reporter:
                webbuggrp Webbug Group
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: