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.
Product Version = NetBeans IDE 8.0 RC1 (Build 201402242200) Operating System = Windows 7 version 6.1 running on amd64 Java; VM; Vendor = 1.7.0_21 Runtime = Java HotSpot(TM) 64-Bit Server VM 23.21-b01 Create interface CustomFileReader with the following Javadoc comment: ======== package com.wissenstein.javadoc; import java.io.IOException; public interface CustomFileReader { /** * Experimental operation to test Javadoc hints in NetBeans-8.0-RC1 * @param path file path * @throws IOException when file cannot be read */ public void readFile(String path) throws IOException; } ======== Create class DummyFileReader with the following Javadoc comment: ======== package com.wissenstein.javadoc; import java.io.IOException; public class DummyFileReader implements CustomFileReader { /** * {@inheritDoc} */ @Override public void readFile(String path) throws IOException { System.out.println("Fake reading file [" + path + "]"); } } ======== Open tab DummyFileReader.java in NetBeans-8.0-RC1 Actual result: string "IOException" is yellow-underlined; there is yellow warn-mark in line 11; when mouse cursor hovers over that warn-mark, the following tool-tip appears: "Missing @throws tag for java.io.IOException". Expected result: Nothing is yellow-underlined in DummyFileReader.java and no warn-marks and tool-tips appear.
Created attachment 145991 [details] IDE log
reproducible
*** Bug 153352 has been marked as a duplicate of this bug. ***
The same holds for the @return tag. public class StackPanel extends JComponent { /** * {@inheritdoc} * * ... */ public Component add(Component comp) { /* ... */ }\ } There is a warning on the first Component (missing return tag) but not on the parameter.
changeset : a21f2970c108 author : Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org> date : Mon Dec 15 10:59:59 CET 2014 summary : #242857 - handle {@inheritDoc}
Integrated into 'main-silver', will be available in build *201412160001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/a21f2970c108 User: Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org> Log: #242857 - handle {@inheritDoc}
*** Bug 251295 has been marked as a duplicate of this bug. ***