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 47809 - Usages not found
Summary: Usages not found
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: Tomas Hurka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-24 15:42 UTC by _ tboudreau
Modified: 2007-09-26 09:14 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 _ tboudreau 2004-08-24 15:42:59 UTC
Open, say, org.netbeans.core.view.ui.MainWindow.
Override its validate() method with a dummy 
method:

public void validate() {
}

Now run Find Usages against this method.  None 
are found, but you there is a call to validate() 
in MainWindow, in the method setDesktop().
Comment 1 Jan Becicka 2004-09-07 13:35:09 UTC
Tomasi can you look at it? It looks like call validate(); in
setDesktop() method is resolved to JFrame.validate() (not to
MainWindow.validate())
Comment 2 Tomas Hurka 2004-09-16 17:32:59 UTC
Yes, call to validate() was incorrectly resolved to the method 
(java.awt.Container.validate()), which validate() overrides. Fixed in trunk. 
Checking in javacore/parser/MDRParser.java;
/cvs/java/javacore/src/org/netbeans/modules/javacore/parser/MDRParser.java,v  <--  
MDRParser.java
new revision: 1.50; previous revision: 1.49
done
Comment 3 Quality Engineering 2007-09-20 09:47:46 UTC
Reorganization of java component