This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Project classes are ignored as profiling roots while profiling Maven java project. It happens only with JDK8. To reproduce: - create new Maven java project - add main class with some lengthy computing in main method - right-click project root and choose Profile - select CPU -> Advanced -> Profile only project classes - click Run - profiling is started but no methods are displayed in live results view. It works with JDK7u60 but not with any of JDK8s Product Version: NetBeans IDE Dev (Build 201407300001) Java: 1.8.0_11; Java HotSpot(TM) 64-Bit Server VM 25.11-b03 Runtime: Java(TM) SE Runtime Environment 1.8.0_11-b12 System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb)
Can you please test it with NB 8.0 FCS? Thanks.
It is the same with NB 8.0 FCS. It does not work.
Thanks and what about NB 7.4?
Does not work in NB7.4.
Wow :-(
Fixed in profiler-main changeset: 276274:fde02ae642a1 user: Tomas Hurka <thurka@netbeans.org> date: Thu Jul 31 11:51:40 2014 +0200 summary: bugfix #246154, allow to instrument two main classes if one of them is from sun.launcher package now JDK 7 and JDK 8 behaves the same, but root methods in maven j2se project are still computed incorrectly.
Integrated into 'main-silver', will be available in build *201408010001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/fde02ae642a1 User: Tomas Hurka <thurka@netbeans.org> Log: bugfix #246154, allow to instrument two main classes if one of them is from sun.launcher package
Verified in build 201408010001.