mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
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:
parent
a894d3e0a6
commit
175280b381
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue