On 07/14/2018 05:59 AM, Peter Hull wrote:
> Do you agree that there are two (probably independent) problems here,
> first the reflection warning, second the JVM crash? (I'm assuming this
> is reproducible for everyone?)

I don't get the VM crash. Followed Alan's steps:

> Create new java application with main class.
> Add System.out.println("Hello world");
> Change java platform to java9 (properties).
> Change source/binary format to java9 (properties).
> Run profiler, methods, all classes.

Source level is set to 9, Java platform is JDK10. Running under OpenJDK
10. I was also on the profiler tribe for NetCAT. We only tested against
8 and 10 since we knew that 9 would be superseded by the time NetBeans
9.0 was released. Tried with both Maven and Ant project types.

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:
>/mnt/common/netbeans-9.0/netbeans/profiler/lib,5140,10<
Profiler Agent: Initialized successfully
Profiler Agent: 250 classes cached.
Profiler Agent: 250 classes cached.
Profiler Agent: 250 classes cached.
Profiler Agent: 250 classes cached.
Profiler Agent: 250 classes cached.
Hello World
Profiler Agent: Connection with agent closed
Profiler Agent: Connection with agent closed
Profiler Agent: 250 classes cached.
------------------------------------------------------------------------
BUILD SUCCESS
------------------------------------------------------------------------
Total time: 7.359 s
Finished at: 2018-07-14T10:37:19-05:00
Final Memory: 7M/34M
------------------------------------------------------------------------

-- 
Glenn Holmer (Linux registered user #16682)
"After the vintage season came the aftermath -- and Cenbe."

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to