Re: Profiler warnings - Illegal reflective access
I have already put it in a bug report for this warning. Actually Somebody did it for me. I was informed by the mvn expert that this happened because the Unbuntu included the incorrect libraries in debian. If you download direct from maven website then this warning shouldn't appear. That was the case when I did that soon after with jdk 11. The warning did disappear. If you use jdk 8 then the warnings don't appear because jdk 8 doesnt know anything about those libraries. So it is a ubuntu maven issue. Z. https://www.backbutton.co.uk/ ¯\_(ツ)_/¯ ♡۶♡۶ ♡۶ On Sun, 14 Mar 2021, 08:06 Bradley Willcott, wrote: > Hi there, > > Should I put this into a bug report? > > This showed up when I was trying to profile an application that was > accessing MySQL server. I was profiling SQL Queries: > > Profiler Agent: Waiting for connection on port 5140, timeout 10 seconds > (Protocol version: 18) > Profiler Agent: Established connection with the tool > WARNING: An illegal reflective access operation has occurred > WARNING: Illegal reflective access by > org.netbeans.lib.profiler.server.ClassLoaderManager to method > java.lang.ClassLoader.findLoadedClass(java.lang.String) > WARNING: Please consider reporting this to the maintainers of > org.netbeans.lib.profiler.server.ClassLoaderManager > 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 > Profiler Agent: Local accelerated session > Profiler Agent: Initializing... > Profiler Agent: Options: > >/home/bwillcott/apps/netbeans/v12.1/netbeans/profiler/lib,5140,10< > Profiler Agent: Initialized successfully > Profiler Agent: 250 classes cached. > > I am concerned about the WARNINGs. > > Thanks, > Brad. > > >
Fwd: Profiler warnings - Illegal reflective access
Sorry, I forgot to provide some context: Netbeans 12.1 Fedora Linux 32 This text appears before the program starts to run, and just after it has been successfully compiled. Brad. Forwarded Message Subject:Profiler warnings - Illegal reflective access Date: Sun, 14 Mar 2021 16:06:29 +0800 From: Bradley Willcott To: NetBeans Mailing Hi there, Should I put this into a bug report? This showed up when I was trying to profile an application that was accessing MySQL server. I was profiling SQL Queries: Profiler Agent: Waiting for connection on port 5140, timeout 10 seconds (Protocol version: 18) Profiler Agent: Established connection with the tool WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by org.netbeans.lib.profiler.server.ClassLoaderManager to method java.lang.ClassLoader.findLoadedClass(java.lang.String) WARNING: Please consider reporting this to the maintainers of org.netbeans.lib.profiler.server.ClassLoaderManager 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 Profiler Agent: Local accelerated session Profiler Agent: Initializing... Profiler Agent: Options: >/home/bwillcott/apps/netbeans/v12.1/netbeans/profiler/lib,5140,10< Profiler Agent: Initialized successfully Profiler Agent: 250 classes cached. I am concerned about the WARNINGs. Thanks, Brad.
Profiler warnings - Illegal reflective access
Hi there, Should I put this into a bug report? This showed up when I was trying to profile an application that was accessing MySQL server. I was profiling SQL Queries: Profiler Agent: Waiting for connection on port 5140, timeout 10 seconds (Protocol version: 18) Profiler Agent: Established connection with the tool WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by org.netbeans.lib.profiler.server.ClassLoaderManager to method java.lang.ClassLoader.findLoadedClass(java.lang.String) WARNING: Please consider reporting this to the maintainers of org.netbeans.lib.profiler.server.ClassLoaderManager 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 Profiler Agent: Local accelerated session Profiler Agent: Initializing... Profiler Agent: Options: >/home/bwillcott/apps/netbeans/v12.1/netbeans/profiler/lib,5140,10< Profiler Agent: Initialized successfully Profiler Agent: 250 classes cached. I am concerned about the WARNINGs. Thanks, Brad.