Score
0
Watch 232 Star 643 Fork 206

Jack Jiang / beautyeyeJavaApache-2.0

JDK9不支持

Open
时光岁月童年  Opened this issue

关键的一句代码

                BeautyEyeLNFHelper.launchBeautyEyeLNF();
                UIManager.put("RootPane.setupButtonVisible", false);
Exception in thread "main" java.lang.IllegalAccessError: superclass access check failed: class org.jb2011.lnf.beautyeye.BeautyEyeLookAndFeelWin (in module beautyeye) cannot access class com.sun.java.swing.plaf.windows.WindowsLookAndFeel (in module java.desktop) because module java.desktop does not export com.sun.java.swing.plaf.windows to module beautyeye
	at java.base/java.lang.ClassLoader.defineClass1(Native Method)
	at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1016)
	at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1095)
	at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:183)
	at java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:782)
	at java.base/jdk.internal.loader.BuiltinClassLoader.findClassInModuleOrNull(BuiltinClassLoader.java:703)
	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:628)
	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:602)
	at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
15683 jackjiang 1578915051 total 2 participants

Comments (1)

15683 jackjiang 1578915051
Jack Jiang 2020-04-07 21:40 owner

应该是Oracle将某些私有API移动了。你顺着提示调试一下代码看看,我这边没有JDK9。

Sign in to comment

Assignees
Labels
Not set
Projects
Milestones
Branches
Planed to start
Not set
Planed to end
Not set
Top level
Priority