hg: jdk9/sandbox/langtools: 8081820: javadoc does not report warnings in case of multiple "@param" tags for the same parameter and multiple "@return" tags for the same method.

chris.hegarty at oracle.com chris.hegarty at oracle.com
Sat Jan 28 00:01:10 UTC 2017


Changeset: 37c0e34e835c
Author:    jjg
Date:      2017-01-27 15:49 -0800
URL:       http://hg.openjdk.java.net/jdk9/sandbox/langtools/rev/37c0e34e835c

8081820: javadoc does not report warnings in case of multiple "@param" tags for the same parameter and multiple "@return" tags for the same method.
Reviewed-by: jjg
Contributed-by: istomin.den at gmail.com

! src/jdk.compiler/share/classes/com/sun/tools/doclint/Checker.java
! src/jdk.compiler/share/classes/com/sun/tools/doclint/resources/doclint.properties
+ test/tools/doclint/DuplicateParamTest.java
+ test/tools/doclint/DuplicateParamTest.out
+ test/tools/doclint/DuplicateReturnTest.java
+ test/tools/doclint/DuplicateReturnTest.out



More information about the jdk9-sandbox-changes mailing list