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 270391 - Javadoc viewer omits inherited @throws
Summary: Javadoc viewer omits inherited @throws
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Javadoc (show other bugs)
Version: Dev
Hardware: PC Windows 10 x64
: P3 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-13 18:53 UTC by _ gtzabari
Modified: 2017-04-13 18:53 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 _ gtzabari 2017-04-13 18:53:23 UTC
Product Version: NetBeans IDE 8.2 (Build 201609300101)
Updates: NetBeans IDE is updated to version NetBeans 8.2 Patch 1
Java: 1.8.0_121; Java HotSpot(TM) 64-Bit Server VM 25.121-b13
Runtime: Java(TM) SE Runtime Environment 1.8.0_121-b13
System: Windows 10 version 10.0 running on amd64; Cp1252; en_US (nb)
User directory: C:\Users\a-gtzabari\AppData\Roaming\NetBeans\8.2
Cache directory: C:\Users\a-gtzabari\AppData\Local\NetBeans\Cache\8.2

1. Invoke code-complete on Iterator.next(). Notice that the Javadoc viewer shows "throws NoSuchElementException".
2. Create a class that extends Iterator<Object> and override next():

public class MyIterator extends Iterator<Object>
{
    @Override
    public Object next() {
      return null;
    }
}

3. Invoking code-complete on new MyIterator.next().
4. Notice that the Javadoc viewer omits "throws NoSuchElementException" even though it should inherit it.