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

Summary: @inheritDoc does not work correctly if there are no sources attached
Product: java Reporter: Jiri Prox <jiriprox>
Component: SourceAssignee: Svata Dedic <sdedic>
Status: NEW ---    
Severity: normal CC: ralphbenjamin
Priority: P3    
Version: 8.0.2   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:

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
     */
    @Override
    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