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 - Marking rules defined by "subtype" are applied to all the subtype methods instead of only the overridden ones
Summary: Marking rules defined by "subtype" are applied to all the subtype methods ins...
Status: VERIFIED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: J Bachorik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-19 11:03 UTC by Petr Cyhelsky
Modified: 2009-02-19 22:55 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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