Testing: do not fail startup when LaF initialization throws UnsupportedClassVersionError (may occur when switching from Java 9+ to Java 8)

This commit is contained in:
Karl Tauber
2020-05-24 14:48:05 +02:00
parent e9e1e350eb
commit 7d14fbe739

View File

@@ -82,7 +82,7 @@ public class DemoPrefs
} else
UIManager.setLookAndFeel( lafClassName );
}
} catch( Exception ex ) {
} catch( Throwable ex ) {
ex.printStackTrace();
// fallback