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 25429

Summary: Overridden methods w/o overridden Javadoc do not display correctly in Javadoc popup
Product: editor Reporter: Jesse Glick <jglick>
Component: -- Other --Assignee: Milutin Kristofic <mkristofic>
Status: RESOLVED WONTFIX    
Severity: blocker CC: tor
Priority: P4    
Version: 3.x   
Hardware: PC   
OS: Linux   
Issue Type: ENHANCEMENT Exception Reporter:

Description Jesse Glick 2002-07-08 22:42:02 UTC
Setup is the same as for issue #25428. But now for
the methods from DataFolder, select e.g.

void handleDelete() throws IOException

No Javadoc is displayed. DataFolder.handleDelete
overrides the method from MultiDataObject but has
no Javadoc of its own. MDO also overrides w/o own
Javadoc. DataObject supplies the Javadoc for it.

IMHO the Javadoc from DataObject should be
displayed, to be consistent with the JDK's javadoc
tool starting with JDK 1.3: when a method override
does not override the Javadoc, you can see the
superclass Javadoc instead.
Comment 1 Marek Grummich 2002-07-22 12:19:02 UTC
Set target milestone to TBD
Comment 2 Marek Grummich 2002-07-22 12:24:04 UTC
Set target milestone to TBD
Comment 3 Jesse Glick 2003-01-08 14:51:29 UTC
See also issue #7115.
Comment 4 Jesse Glick 2003-02-01 02:24:32 UTC
BTW - cf. issue #30562.
Comment 5 Torbjorn Norbye 2003-02-01 23:12:35 UTC
There's a fix for a related problem in the tasklist module; see issue
24406 for a description of the method in DocSuggester.java.  There is
an overloaded method inheritsJavadoc(); the second method obtains the
actual Javadoc object (and simply tests for isEmpty()); you could
modify this to be javadoc.getRawText() and then display that. 
Comment 6 Martin Balin 2016-07-07 07:26:35 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss