mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2026-02-11 06:27:13 -06:00
FlatTestFrame: avoid initializing LaF classes in isClassAvailable() because this invokes static class initialization, which logs a reflection warning on Java 13 for WebLaf
This commit is contained in:
@@ -229,7 +229,7 @@ public class FlatTestFrame
|
||||
|
||||
private boolean isClassAvailable( String className ) {
|
||||
try {
|
||||
Class.forName( className );
|
||||
Class.forName( className, false, getClass().getClassLoader() );
|
||||
return true;
|
||||
} catch( ClassNotFoundException ex ) {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user