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 145413 - Go to source doesn't take method signature into account
Summary: Go to source doesn't take method signature into account
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: 140257
  Show dependency tree
 
Reported: 2008-08-28 12:38 UTC by cms
Modified: 2008-09-05 17:04 UTC (History)
0 users

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 cms 2008-08-28 12:38:09 UTC
The openJavaSource(final Project project, final String className, final String methodName, final String methodSig)
method from org.netbeans.modules.profiler.NetBeansProfiler class loses exact method signature while calling
GoToSourceHelper.openSource(Project project, String className, String methodName, String signature) method.

Currently the code contains the following line:
            GoToSourceHelper.openSource(project, className, methodName, className);

while it should be
            GoToSourceHelper.openSource(project, className, methodName, methodSig);
Comment 1 J Bachorik 2008-08-28 12:58:24 UTC
fixed - http://hg.netbeans.org/profiler-main/rev/817c6f2f09f5

Thanks for catching it!
Comment 2 cms 2008-09-01 16:03:39 UTC
Verified
Comment 3 Quality Engineering 2008-09-01 17:31:34 UTC
Integrated into 'main-golden', available in build *200809011401* on http://bits.netbeans.org/dev/nightly/
Changeset: http://hg.netbeans.org/main/rev/817c6f2f09f5
User: Jaroslav Bachorik <yardus@netbeans.org>
Log: #145413 - Go to source doesn't take method signature into account