question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Java 9 : illegal reflective access

See original GitHub issue

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

Issue Analytics

  • State:open
  • Created 6 years ago
  • Reactions:2
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
davidekholmcommented, May 18, 2021

Since Darcula seems to be abandonware, we actually moved to FlatLaf for jAlbum. It even has a Darcula theme. It was a smooth transition.

0reactions
hendriks73commented, May 20, 2021

Thanks for sharing this, @davidekholm.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Java 9 Illegal Reflective Access Warning - Baeldung
Before Java 9, the Java Reflection API has a superpower: It could gain access to the non-public class members without limitation.
Read more >
What is an illegal reflective access? - java - Stack Overflow
Run it with --illegal-access=deny to get to know about and avoid opening packages from one module to another without a module declaration ...
Read more >
How to fix “an illegal reflective access operation has occurred”
The "an illegal reflective access operation has occurred" warning message is related to the unauthorized access to parts of the JDK made by ......
Read more >
An illegal reflective access operation has occurred when ...
You will see An illegal reflective access operation has occurred warning when installing and using AM (including Amster and ssoadm tools), Java ......
Read more >
"illegal reflective access" under Java 9, 10, 11 - Shibboleth
Starting the IdP under Java OpenJDK 9.0.4 or Java 10 EA 46 gives this: 1WARNING: An illegal reflective access operation has occurred 2WARNING:...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found