-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Java 9 : illegal reflective access #41
Comments
I can confirm this issue. |
Workaround:
|
Add Java 9 options to avoid the warnings that will disturb our users. Warnings are due to: - bulenkov/Darcula#41 - https://issues.apache.org/jira/browse/GROOVY-8339 Bugzilla Id: 61529 git-svn-id: https://svn.apache.org/repos/asf/jmeter/trunk@1822712 13f79535-47bb-0310-9956-ffa450edef68
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 |
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
The text was updated successfully, but these errors were encountered: