Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-618

JDK 10 Profiler: When profiling "Selected Classes", intermittant java.lang.ClassNotFoundException is thrown

    XMLWordPrintableJSON

Details

    Description

      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)

         

      Attachments

        Issue Links

          Activity

            People

              lkishalmi Laszlo Kishalmi
              javajuneau Josh Juneau
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: