United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7180906 Javadoc tool does not apply parameter -nosince
JDK-7180906 : Javadoc tool does not apply parameter -nosince

Details
Type:
Bug
Submit Date:
2012-06-29
Status:
Closed
Updated Date:
2013-09-04
Project Name:
JDK
Resolved Date:
2012-09-25
Component:
tools
OS:
generic
Sub-Component:
javadoc(tool)
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
7u3
Fixed Versions:

Related Reports
Backport:
Backport:

Sub Tasks

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
EVALUATION

The nosince option is set in the doclet after the taglet manager is called hence the option does not work correctly.
                                     
2012-09-09
URL:   http://hg.openjdk.java.net/jdk8/build/langtools/rev/fa85af323d97
User:  katleman
Date:  2012-09-27 06:17:42 +0000

                                     
2012-09-27
verified in b65
                                     
2012-11-20



Hardware and Software, Engineered to Work Together