jide-oss icon indicating copy to clipboard operation
jide-oss copied to clipboard

java.lang.ClassNotFoundException: sun.swing.UIClientPropertyKey

Open hamid-nazari opened this issue 5 years ago • 0 comments

Running the latest demo (3.7.8) on JDK13 for TriStateCheckBox Demo I received the error mentioned above with attached stack trace in java.exe console.

This is clearly due to com.jidesoft.plaf.windows.AnimationController importing an interface from JDK1.8 which is now moved to javax.swing.UIClientPropertyKey, post JDK9. It can be fixed easily ,for example, by providing a variant version of com.jidesoft.plaf.windows.AnimationController using Multi-Release JAR feature of JDK9+.

JRE: java version "13" 2019-09-17 Java(TM) SE Runtime Environment (build 13+33) Java HotSpot(TM) 64-Bit Server VM (build 13+33, mixed mode, sharing)

stacktrace.txt

hamid-nazari avatar Dec 31 '19 12:12 hamid-nazari