Revivius / nb-darcula

Darcula LAF for NetBeans
277 stars 83 forks source link

Warnings in NB 10.0 using openjdk 11 #163

Open darkyellow opened 5 years ago

darkyellow commented 5 years ago

Hi

When using netbeans 10.0 with

openjdk 11.0.1 2018-10-16 OpenJDK Runtime Environment (build 11.0.1+13-Ubuntu-2ubuntu1) OpenJDK 64-Bit Server VM (build 11.0.1+13-Ubuntu-2ubuntu1, mixed mode, sharing)

I see these warning messages at startup

WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.bulenkov.darcula.DarculaLaf (jar:file:/home/user/.netbeans/10.0/modules/ext/com.revivius.nb-darcula/com-bulenkov/darcula.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

KinG-InFeT commented 5 years ago

+1

davidekholm commented 5 years ago

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.

AlexFalappa commented 5 years ago

I believe this issue is not on NB-Darcula but rather on the Darcula Look & Feel itself.

It has already been reported as https://github.com/bulenkov/Darcula/issues/41

I think this is a duplicate.