Merge branch 'release-1.6.1' into main

# Conflicts:
#	CHANGELOG.md
This commit is contained in:
Karl Tauber
2021-10-14 22:50:44 +02:00
3 changed files with 14 additions and 1 deletions

View File

@@ -96,6 +96,11 @@ class FlatWindowsNativeWindowBorder
// Java 9 and later does not have this problem.
try {
System.loadLibrary( "jawt" );
} catch( UnsatisfiedLinkError ex ) {
// log error only if native library jawt.dll not already loaded
String message = ex.getMessage();
if( message == null || !message.contains( "already loaded in another classloader" ) )
LoggingFacade.INSTANCE.logSevere( null, ex );
} catch( Exception ex ) {
LoggingFacade.INSTANCE.logSevere( null, ex );
}