Skip to content
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

Blah, blah Dracula acting up. #51

Closed
sgjava opened this issue Sep 11, 2021 · 5 comments
Closed

Blah, blah Dracula acting up. #51

sgjava opened this issue Sep 11, 2021 · 5 comments

Comments

@sgjava
Copy link

sgjava commented Sep 11, 2021

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.bulenkov.darcula.DarculaLaf (file:/home/servadmin/.m2/repository/com/github/ice1k/darcula/2018.2/darcula-2018.2.jar) to field javax.swing.text.html.HTMLEditorKit.DEFAULT_STYLES_KEY
WARNING: Please consider reporting this to the maintainers of com.bulenkov.darcula.DarculaLaf
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

Seems > Java 8 issue. I see on Java 11. Reference bulenkov/Darcula#41

@sgjava
Copy link
Author

sgjava commented Sep 11, 2021

Maybe switch to FlatLaf as suggested?

@sgjava
Copy link
Author

sgjava commented Sep 11, 2021

Looks like DARK_THEME, OS_NATIVE, DEFAULT do the same thing.

@Milchreis
Copy link
Owner

Oh, FlatLaf is an awesome project. I didn't know about it.
I will switch from the abandoned Darcula project to this one.

@sgjava
Copy link
Author

sgjava commented Sep 11, 2021 via email

@sgjava
Copy link
Author

sgjava commented Sep 26, 2021

Dracula finally got the silver bullet and wooden steak.

Exception in thread "AWT-EventQueue-0" java.lang.IllegalAccessError: class com.bulenkov.darcula.ui.DarculaButtonUI (in unnamed module @0x2a48d10f) cannot access class sun.swing.SwingUtilities2 (in module java.desktop) because module java.desktop does not export sun.swing to unnamed module @0x2a48d10f
	at com.bulenkov.darcula.ui.DarculaButtonUI.paintText(DarculaButtonUI.java:79)

Using JDK 17 now which is LTS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants