JDK 9 RFR Enable doclint reference checking for the java.compiler module

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

JDK 9 RFR Enable doclint reference checking for the java.compiler module

joe darcy
Hello,

Please review the small patch below to enable the "reference" category
of doclint checking (@see and @link tags, etc.) for the java.compiler
module which hosts the packages javax.lang.model.*,
javax.annotation.processing, and javax.tools.

Thanks,

-Joe

diff -r 4eb77fb98952 make/CompileJavaModules.gmk
--- a/make/CompileJavaModules.gmk    Fri Feb 10 08:21:20 2017 -0800
+++ b/make/CompileJavaModules.gmk    Mon Feb 13 12:02:21 2017 -0800
@@ -85,7 +85,7 @@

  ################################################################################

-java.compiler_ADD_JAVAC_FLAGS := -Xdoclint:all/protected,-reference
'-Xdoclint/package:java.*,javax.*'
+java.compiler_ADD_JAVAC_FLAGS := -Xdoclint:all/protected
'-Xdoclint/package:java.*,javax.*'

  ################################################################################


Reply | Threaded
Open this post in threaded view
|

Re: JDK 9 RFR Enable doclint reference checking for the java.compiler module

Erik Joelsson
Looks good.

/Erik


On 2017-02-13 21:04, joe darcy wrote:

> Hello,
>
> Please review the small patch below to enable the "reference" category
> of doclint checking (@see and @link tags, etc.) for the java.compiler
> module which hosts the packages javax.lang.model.*,
> javax.annotation.processing, and javax.tools.
>
> Thanks,
>
> -Joe
>
> diff -r 4eb77fb98952 make/CompileJavaModules.gmk
> --- a/make/CompileJavaModules.gmk    Fri Feb 10 08:21:20 2017 -0800
> +++ b/make/CompileJavaModules.gmk    Mon Feb 13 12:02:21 2017 -0800
> @@ -85,7 +85,7 @@
>
>  ################################################################################
>
>
> -java.compiler_ADD_JAVAC_FLAGS := -Xdoclint:all/protected,-reference
> '-Xdoclint/package:java.*,javax.*'
> +java.compiler_ADD_JAVAC_FLAGS := -Xdoclint:all/protected
> '-Xdoclint/package:java.*,javax.*'
>
>  ################################################################################
>
>
>