Glenn Holmer commented on NETBEANS-618:

I see this too, preceded by this warning:
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by 
org.netbeans.lib.profiler.server.ClassLoaderManager to method 
WARNING: Please consider reporting this to the maintainers of 
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

> JDK 10 Profiler:  When profiling "Selected Classes", intermittant 
> java.lang.ClassNotFoundException is thrown
> ------------------------------------------------------------------------------------------------------------
>                 Key: NETBEANS-618
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-618
>             Project: NetBeans
>          Issue Type: Bug
>          Components: profiler - Base
>    Affects Versions: 9.0
>         Environment: OS X 10.12.6
>            Reporter: Josh Juneau
>            Priority: Critical
>             Fix For: 9.0
> When profiling under JDK 10 and using "Selected Classes" option, the 
> following error is thrown after clicking "Apply" and the profiled application 
> starts up.  This occurred during one of the Profiler tests with the 
> AnagramGame.
> java.lang.ClassNotFoundException: java/lang/reflect/WeakPairMap$Pair
> at java.base/java.lang.Class.forName0(Native Method)
> at java.base/java.lang.Class.forName(Class.java:291)
> at 
> org.netbeans.lib.profiler.server.ProfilerInterface$InitiateProfilingThread.initiateInstrumentation(ProfilerInterface.java:165)
> at 
> org.netbeans.lib.profiler.server.ProfilerInterface$InitiateProfilingThread.run(ProfilerInterface.java:117)

This message was sent by Atlassian JIRA

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

For further information about the NetBeans mailing lists, visit:

Reply via email to