WARNING: An illegal reflective access operation has occurred
See original GitHub issueDescribe the bug
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.ibm.fhir.model.util.XMLSupport (file:/Users/rubberduck/.gradle/caches/modules-2/files-2.1/com.ibm.fhir/fhir-model/4.7.0/706afb6278d6bf5e56dec035ea17a0f326f41bba/fhir-model-4.7.0.jar) to constructor com.sun.xml.internal.stream.XMLInputFactoryImpl()
Environment Which version of IBM FHIR Server?
4.7.0
To Reproduce Steps to reproduce the behavior:
I’m not entirely sure. Would be happy to help reproduce it given some guidance.
I’m running OpenJDK 11 and it seems that this behavior was introduced in JDK 9. If you’re using an older JDK, you might not see this.
Expected behavior A clear and concise description of what you expected to happen.
No warnings.
Additional context Add any other context about the problem here.
This StackOverflow Q&A may help someone who understands the problem better than I. https://stackoverflow.com/questions/50251798/what-is-an-illegal-reflective-access
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
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 >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 >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 >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 >How can I solve "WARNING:An illegal reflective access ...
WARNING: An illegal reflective access operation has occurred ... WARNING: All illegal access operations will be denied in a future release.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Cool. Thanks @prb112. I didn’t see an issue anywhere, so wanted to make sure you were aware.
Thanks @rubberduck203 we’re aware of the warning. It’s related to the XML library which we is dependent upon uses Reflection to access the xml model in memory.