Thursday, February 14, 2013

java.lang.illegalargumentexception comparison method violates its general contract, Flex

java.lang.illegalargumentexception comparison method violates its general contract, flex.

This is a bug of the flex sdk mxmlc compiler running with JVM 1.6 or 1.7

Solution:
Adding the following argument to your eclipse.ini should resolve this issue:
-Djava.util.Arrays.useLegacyMergeSort=true 

2 comments:

Unknown said...

Thanks that saved me a lot of time!

Vitao said...

Sir, you saved a computer's life today! :D