Skip to content

Commit 501e2c8

Browse files
committed
DefaultUncaughtExceptionHandler: remove no-longer-necessary logic
It was only needed before Java 7, and SciJava now requires Java 8.
1 parent 2e8f29c commit 501e2c8

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/main/java/org/scijava/log/DefaultUncaughtExceptionHandler.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,6 @@ public static void install(final LogService log) {
6969
final UncaughtExceptionHandler handler =
7070
new DefaultUncaughtExceptionHandler(log);
7171
Thread.setDefaultUncaughtExceptionHandler(handler);
72-
73-
// Needed for modal dialog handling before Java7:
74-
System.setProperty("sun.awt.exception.handler",
75-
DefaultUncaughtExceptionHandler.class.getName());
7672
}
7773

7874
}

0 commit comments

Comments
 (0)