JDK-7180906 : Javadoc tool does not apply parameter -nosince
  • Type: Bug
  • Component: tools
  • Sub-Component: javadoc(tool)
  • Affected Version: 7u3
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2012-06-29
  • Updated: 2014-11-19
  • Resolved: 2012-09-25
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7 JDK 8
7u40Fixed 8 b58Fixed
Description
SHORT SUMMARY:
When I launched javadoc using parameter -nosince I expected that tags @since
would not be included in resulting javadoc. But all @since tags are shown.
INDICATORS:
COUNTER INDICATORS:
TRIGGERS:
Command used to generate Javadoc:
> javadoc -d ../javadoc -nosince -package pck

Example class:
package pck;

/**
 * Class A comment.
 * @since 1.6
 */
public class ClassA {

    /**
     * @since 1.6
     */
    public void foo() {        
    }


Version of javadoc used:
>javadoc -J-version
java version "1.7.0_03"
Java(TM) SE Runtime Environment (build 1.7.0_03-b05)
Java HotSpot(TM) 64-Bit Server VM (build 22.1-b02, mixed mode)  
KNOWN WORKAROUND:

PRESENT SINCE:
N/A
HOW TO VERIFY:
Run attached test case
NOTES FOR SE:
None
REGRESSION:


*** MNIEMIEC 06/29/12 03:45 pm *** (CHG: Tag Added)
*** MNIEMIEC 06/29/12 03:45 pm ***
New Tag: new_shadow

Comments
verified in b65
20-11-2012

EVALUATION The nosince option is set in the doclet after the taglet manager is called hence the option does not work correctly.
09-09-2012