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 262638

Summary: First sentence highlighting does not consider {@inheritDoc}
Product: java Reporter: matthies <matthies>
Component: JavadocAssignee: Ralph Ruijs <ralphbenjamin>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:

Description matthies 2016-06-30 20:07:08 UTC
In a javadoc comment like

    /**
     *  {@inheritDoc}
     *  <p>
     *  Here are some additional notes.
     *  And some more comments.
     */

everything up to "notes." is highlighted as Javadoc First Sentence, although the first sentence (generally) is within the inherited description.

When a javadoc comment contains an {@inheritDoc} tag within what is matched as the first sentence, it therefore should not be highlighted as such.
(Or else NetBeans should take the contents of the inherited description into account when it is available.)