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 10: Warnings: Illegal reflective access: CloneableConverter

See original GitHub issue

What

When starting a spring boot application, using Orika with Java 10, I receive the following warnings: WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by ma.glasnost.orika.converter.builtin.CloneableConverter (file:/xxxr) to method java.lang.Object.clone() WARNING: Please consider reporting this to the maintainers of ma.glasnost.orika.converter.builtin.CloneableConverter 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

Versions I am using Java 10.0.2 and orika-core 1.5.2

How can this issue be solved? I did not check with Java 9 but I expect it to be the same (as with other libraries, which use Reflections).

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:43
  • Comments:25 (2 by maintainers)

github_iconTop GitHub Comments

14reactions
ivoscommented, Feb 15, 2021

Any chance of releasing the 1.6.0 version any time soon? It’s been 2 years since you have mentioned it.

8reactions
akprahacommented, Sep 14, 2021

I mean, it’s only been three years since this was first reported, so nobody could possibly expect any sort of solution in that time frame.

Read more comments on GitHub >

github_iconTop Results From Across the Web

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're running Java 10. Corda is only supported on versions 8u131+ of the Oracle JDK 8 JVM. You can see the required Java...
Read more >
Java 9 Illegal Reflective Access Warning - Baeldung
In this tutorial, we'll inspect the relationship between the module system and reflection. 2. Modular System and Reflection.
Read more >
Java 10: Warnings: Illegal reflective access: CloneableConverter
What. When starting a spring boot application, using Orika with Java 10, I receive the following warnings: WARNING: An illegal reflective ...
Read more >
Illegal reflective access by com.intellij.util ... - JetBrains YouTrack
ReflectionUtil to method java.util.ResourceBundle.setParent(java.util. ... ReflectionUtil WARNING: Use --illegal-access=warn to enable warnings of further ...
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