Java 10: Warnings: Illegal reflective access: CloneableConverter
See original GitHub issueWhat
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:
- Created 5 years ago
- Reactions:43
- Comments:25 (2 by maintainers)
Top GitHub Comments
Any chance of releasing the 1.6.0 version any time soon? It’s been 2 years since you have mentioned it.
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.