Illegal reflective access by com.yourkit.probes.builtin.Proc

Questions about YourKit Java Profiler
Post Reply
gkopff
Posts: 1
Joined: Fri Jun 01, 2018 3:20 am

Illegal reflective access by com.yourkit.probes.builtin.Proc

Post by gkopff »

When running under JDK-10.0.1, the following is reported:

Code: Select all

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.yourkit.probes.builtin.Processes to field java.lang.ProcessImpl.pid
WARNING: Please consider reporting this to the maintainers of com.yourkit.probes.builtin.Processes
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
What's the timeline for eliminating illegal reflective access warnings produced by YourKit?
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: Illegal reflective access by com.yourkit.probes.builtin.

Post by Anton Katilin »

Thank you for reporting this issue.

This warning is harmless in Java 10. Nevertheless, we'll work on eliminating it.

If you receive other such warnings could you please report them too.
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: Illegal reflective access by com.yourkit.probes.builtin.

Post by Anton Katilin »

Update: we'll fix this warning in the next build.
Post Reply