[
https://issues.apache.org/jira/browse/NETBEANS-567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16439813#comment-16439813
]
Glenn Holmer commented on NETBEANS-567:
---------------------------------------
Re-testing with build 406, I do not see the failure in step 6, although the
exception is still shown in the output window.
> ClassNotFoundException when profiling single class (JDK 10)
> -----------------------------------------------------------
>
> Key: NETBEANS-567
> URL: https://issues.apache.org/jira/browse/NETBEANS-567
> Project: NetBeans
> Issue Type: Bug
> Components: profiler - Base
> Affects Versions: 9.0
> Reporter: Glenn Holmer
> Priority: Major
>
> Steps to reproduce:
> 1) Create Anagram Game test project.
> 2) Select "Objects" in "Profile" button dropdown, click gear icon and verify
> "All Classes" is selected.
> 3) Begin profiling.
> 4) Find java.lang.String in class list. Either make "Selected" column visible
> and select class, or select "Profile Class" from context menu.
> 5) Click Apply button; the following exception is thrown:
> 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)
> 6) Click buttons in sample application; String class does not appear in
> profiler. This works correctly under JDK8 but fails with this exception under
> JDK10.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists