Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 353396

Summary: Installing software: IllegalArgumentException: Comparison method violates its general contract (JDK7)
Product: [Eclipse Project] Equinox Reporter: Roman Dawydkin <tanmatra>
Component: p2Assignee: P2 Inbox <equinox.p2-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: remy.suen
Version: 3.7   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
stack trace none

Description Roman Dawydkin CLA 2011-07-29 07:19:45 EDT
Build Identifier: I20110613-1736

Running Eclipse 3.7 under JDK7, when installing new software (specifically Java 7 support patches from "http://wiki.eclipse.org/JDT/Eclipse_Java_7_Support_%28BETA%29"), exception occurs:
java.lang.IllegalArgumentException: Comparison method violates its general contract!
Stack trace will be attached.
Switching to legacy sort with VM option -Djava.util.Arrays.useLegacyMergeSort=true installation works OK.



Reproducible: Always
Comment 1 Roman Dawydkin CLA 2011-07-29 07:20:40 EDT
Created attachment 200586 [details]
stack trace
Comment 2 Remy Suen CLA 2011-07-29 10:05:58 EDT

*** This bug has been marked as a duplicate of bug 317785 ***