mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fix possible IllegalAccessException when running on Java 9
This commit is contained in:
@@ -429,6 +429,9 @@ public class UIUtil {
|
||||
LOG.debug("CGraphicsDevice.getScaleFactor(): not an Oracle Mac JDK or API has been changed");
|
||||
} catch (NoSuchMethodException e) {
|
||||
LOG.debug("CGraphicsDevice.getScaleFactor(): not an Oracle Mac JDK or API has been changed");
|
||||
} catch (Exception e) {
|
||||
LOG.debug(e);
|
||||
LOG.debug("CGraphicsDevice.getScaleFactor(): probably it is Java 9");
|
||||
}
|
||||
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user