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.

Bug 153450

Summary: Marking rules defined by "subtype" are applied to all the subtype methods instead of only the overridden ones
Product: profiler Reporter: Petr Cyhelsky <cyhelsky>
Component: BaseAssignee: J Bachorik <yardus>
Status: VERIFIED FIXED    
Severity: blocker CC: sustaining
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Petr Cyhelsky 2008-11-19 11:03:14 UTC
Methods which shouldn't be set as marker methods are set as marker methods, causing problems when marker method is
called from root method.
Comment 1 Tomas Hurka 2008-11-19 13:13:18 UTC
This problem can be reproduced on this tutorial: http://www.javapassion.com/handsonlabs/nbprofilerperformance/index.html#Exercise_4
With NB 6.5 Performance.doCountPrimeNumbers() is not in the snapshot.
Comment 2 J Bachorik 2008-11-20 11:07:23 UTC
fixed in trunk - http://hg.netbeans.org/profiler-main/rev/e630f15b5dd6

With this fix only the overridden methods get marked
Comment 3 Quality Engineering 2008-11-22 04:47:30 UTC
Integrated into 'main-golden', will be available in build *200811220201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/e630f15b5dd6
User: Jaroslav Bachorik <yardus@netbeans.org>
Log: #153450 - marking subtypes will apply only to the overriden public/protected methods
Comment 4 pgebauer 2008-11-24 09:30:53 UTC
The issue didn't pass the nomination process by nomination cut-off date. It has been marked as 65fixes2-candidate.
Comment 5 Rashid Urusov 2008-11-24 15:31:09 UTC
VERIFIED in Build 200811240201
Performance.doCountPrimeNumbers() is in the snapshot now
Comment 6 pgebauer 2008-11-25 13:29:31 UTC
Based on the offline discussion, the issue will be part of 65patch1.

The fix has been ported into the release65_fixes repository.

http://hg.netbeans.org/release65_fixes/rev/ebc7d3557a66