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 250726 - @inheritDoc does not work correctly if there are no sources attached
Summary: @inheritDoc does not work correctly if there are no sources attached
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 8.0.2
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Svata Dedic
Depends on:
Reported: 2015-02-26 12:59 UTC by Jiri Prox
Modified: 2015-03-30 11:25 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Prox 2015-02-26 12:59:41 UTC
The inheritDoc does not work without attached sources

steps to reproduce:
1) have a defaul java platform withou sources (default state after installation)
2) have a code:
public class Test extends DefaultListModel<String> {

     * {@inheritDoc }
     * <p>
     * Additional javadoc
    public int getSize() {
        return super.getSize();


3) see the javadoc for getSize (in navigator, in code completion, or javadoc view)
-> the 'Additional javadoc' is missing

if the platform has attached sources, all works fine

Product Version: NetBeans IDE 8.0.2 (Build 201411181905)
Java: 1.7.0_71; Java HotSpot(TM) 64-Bit Server VM 24.71-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_71-b14
System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb)
User directory: C:\Users\jprox\AppData\Roaming\NetBeans\8.0.1
Cache directory: C:\Users\jprox\AppData\Local\NetBeans\Cache\8.0.1