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 250292 - @Override method documentation disappears with Javadoc tags
Summary: @Override method documentation disappears with Javadoc tags
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 8.0.2
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Ralph Ruijs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-08 09:13 UTC by mdzaebel
Modified: 2015-02-26 11:26 UTC (History)
1 user (show)

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 mdzaebel 2015-02-08 09:13:06 UTC
In the Javadoc view, the documentation of an @Override method is shown correctly, if you place the cursor on the overridden method name. However, if I have a Javadoc tag like @return in the documentation, javadoc can't be found any more. Here is an example:

public class JavadocBug {
    /** @return Test */
    public int test() { return 1; }
    public static void main(String[]args) {
        new JavadocBug() { @Override public int test() { return 1;} };
    }
}

If you remove @return in the documenation, it will reappear in the Javadoc view. Same happens for other Javadoc tags like @param or @see.
Comment 1 Ralph Ruijs 2015-02-23 15:43:30 UTC
changeset:   a0d3c0ff4c31
user:        Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org>
date:        Mon Feb 23 16:41:10 2015 +0100
summary:     #250292 - @Override method documentation disappears with Javadoc tags
Comment 2 Marian Mirilovic 2015-02-24 13:47:57 UTC
This is a candidate for NB 8.0.2 Patch 1 , so please integrate the bugfix into releases/release801 branch today by 10pm CET, for more information see 
http://wiki.netbeans.org/NetBeansPatchesProcess
Comment 3 Jiri Prox 2015-02-24 14:48:10 UTC
verified in trunk
Comment 4 Quality Engineering 2015-02-24 23:47:20 UTC
Integrated into 'main-silver', will be available in build *201502242039* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/a0d3c0ff4c31
User: Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org>
Log: #250292 - @Override method documentation disappears with Javadoc tags