Illegal reflective access warning in JDK 12

26 views
Skip to first unread message

Juan Arjona

unread,
Sep 19, 2019, 10:39:23 AM9/19/19
to jackson-user
Hello:

Following the recommendation of Open JDK:

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.fasterxml.jackson.databind.util.ClassUtil (...) to method java.lang.Throwable.setCause(java.lang.Throwable)
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

I guess you are all aware of this, but just in case.

Thanks for such a  good work!

Juan

Juan Arjona

unread,
Sep 19, 2019, 10:39:25 AM9/19/19
to jackson-user

Tatu Saloranta

unread,
Sep 19, 2019, 11:28:59 AM9/19/19
to jackson-user
Hello Juan!

I think a few similar warnings have been reported, although I am not
100% sure if this one was, so I created issue:

https://github.com/FasterXML/jackson-databind/issues/2464

and I think I know roughly where it comes from even if stack trace
does not have specific location information.

Thank you for reporting the issue!

-+ Tatu +-

Juan Felipe Arjona

unread,
Sep 23, 2019, 7:50:41 PM9/23/19
to jackso...@googlegroups.com
Thanks !.

Juan

--
You received this message because you are subscribed to the Google Groups "jackson-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jackson-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jackson-user/CAL4a10g1C5sGbzV7s9mAhvTn9OhhwSWS8dG9y2VpdzfH9FVKSg%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages