Setting java.util.Arrays.useLegacyMergeSort=true in client main to avoid Comparison method violates its general contract of swing class. (Fixes #451).

This commit is contained in:
LevelX2 2014-08-14 11:49:46 +02:00
parent a894d3e0a6
commit 175280b381

View file

@ -172,7 +172,9 @@ public class MageFrame extends javax.swing.JFrame implements MageClient {
setTitle("XMage, version " + version);
clientId = UUID.randomUUID();
// Workaround for #451
System.setProperty("java.util.Arrays.useLegacyMergeSort", "true");
EDTExceptionHandler.registerExceptionHandler();
addWindowListener(new WindowAdapter() {
@Override