mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
* Moved workaround for #451 to first possible position main of client.
This commit is contained in:
parent
6d1f2515d7
commit
ee5831bdc9
1 changed files with 2 additions and 4 deletions
|
@ -172,9 +172,6 @@ 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
|
||||
|
@ -1091,9 +1088,10 @@ public class MageFrame extends javax.swing.JFrame implements MageClient {
|
|||
* @param args the command line arguments
|
||||
*/
|
||||
public static void main(final String args[]) {
|
||||
// Workaround for #451
|
||||
System.setProperty("java.util.Arrays.useLegacyMergeSort", "true");
|
||||
|
||||
startTime = System.currentTimeMillis();
|
||||
|
||||
Thread.setDefaultUncaughtExceptionHandler(new Thread.UncaughtExceptionHandler() {
|
||||
@Override
|
||||
public void uncaughtException(Thread t, Throwable e) {
|
||||
|
|
Loading…
Reference in a new issue