Open pmouawad opened 6 years ago
I can confirm this issue.
Workaround:
--add-opens java.desktop/sun.awt=ALL-UNNAMED --add-opens java.desktop/javax.swing.text.html=ALL-UNNAMED --add-opens java.desktop/sun.swing=ALL-UNNAMED
Really hope this issue can be addressed soon. Darcula looks so good that we don't want to dump it, but legalities requires us to move to Java 11 and now we get these warnings upon startup of jAlbum unless we suppress them with a series of ugly flags.
I can confirm this issue.
I also find that even compiling a Java 11 project with darcula.jar on the classpath is enough to hang javac.
This bug makes it difficult to ship Java apps with the Darcula theme using jpackage
.
Since Darcula seems to be abandonware, we actually moved to FlatLaf for jAlbum. It even has a Darcula theme. It was a smooth transition.
Thanks for sharing this, @davidekholm.
Hello, When using Darcula LAF under java 9, we get those warnings:
`WARNING: Illegal reflective access by com.bulenkov.darcula.DarculaLaf (file:/data/jmeter/workspace/jmeter_trunk/lib/darcula.jar) to field javax.swing.text.html.HTMLEditorKit.DEFAULT_STYLES_KEY
WARNING: Illegal reflective access by com.bulenkov.iconloader.util.UIUtil (file:/data/jmeter/workspace/jmeter_trunk/lib/darcula.jar) to field sun.awt.CGraphicsDevice.scale `
I didn't find it reported so I thought you might be interested.
Regards