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

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

Open
sshahed opened this issue Jul 17, 2019 · 2 comments
Open

Comments

@sshahed
Copy link

sshahed commented Jul 17, 2019

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
Copy link

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
Copy link

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.

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