FasterXML / jackson-databind

General data-binding package for Jackson (2.x): works on streaming API (core) implementation(s)
Apache License 2.0
3.53k stars 1.38k forks source link

Illegal reflective access by #3607

Open JITU960 opened 2 years ago

JITU960 commented 2 years ago

I got following message on running my service.

I am using Java 11 oracle version with spring boot version 2.7.3

WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.fasterxml.jackson.databind.util.ClassUtil (file:/usr/local/Cellar/gradle/7.0.2_2/libexec/caches/modules-2/files-2.1/com.fasterxml.jackson.core/jackson-databind/2.13.3/56deb9ea2c93a7a556b3afbedd616d342963464e/jackson-databind-2.13.3.jar) to field java.lang.Throwable.cause WARNING: Please consider reporting this to the maintainers of com.fasterxml.jackson.databind.util.ClassUtil 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

cowtowncoder commented 2 years ago

This is unfortunately unactionable as-is: what is necessary to know which specific value class triggers this; there is no fix for general possibility of warning since ClassUtil is called with class to force access to -- so it is caller we need to know.

You may also try 2.13.4 but I suspect it does not change this particular one.

Will leave open in case more information might become accessible.