bulenkov / Darcula

Darcula Look and Feel
Apache License 2.0
726 stars 114 forks source link

macOS 10.14.5 : An illegal reflective access operation has occurred #54

Open sshahed opened 5 years ago

sshahed commented 5 years ago

apache-jmeter-5.1.1 $ java -jar bin/ApacheJMeter.jar

WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.bulenkov.darcula.DarculaLaf (file:/.../software/opensource/apache-jmeter-5.1.1/lib/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 $

jppresents commented 4 years ago

Any news on this? Getting it too and the red warning in the intellij console on every start of my application is getting to me.

jppresents commented 4 years ago

Info for anyone: I downloaded the project, commented out line 93 in DarculaLaf.java This no longer styles the "EditorKit" (don't know what that is, seems I do not use it in my swing application). Then I build the artifact.

With the resulting jar I no longer get the warning.