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

Mandy Chung mandy.chung at oracle.com
Wed Feb 15 02:20:10 UTC 2017


+1

Mandy

> On Feb 14, 2017, at 5:27 PM, joe darcy <joe.darcy at oracle.com> wrote:
> 
> Hello,
> 
> As a follow-up to enabling doclint reference checking in the java.compiler modules (JDK-8174945), I checked the other modules where reference checking is currently disabled and found one where the check could be turned on: java.management.rmi.
> 
> Please review the patch below which does this.
> 
> Thanks,
> 
> -Joe
> 
> diff -r 04a685edd41d make/CompileJavaModules.gmk
> --- a/make/CompileJavaModules.gmk    Tue Feb 14 09:00:43 2017 -0800
> +++ b/make/CompileJavaModules.gmk    Tue Feb 14 17:24:04 2017 -0800
> @@ -247,7 +247,7 @@
> 
> ################################################################################
> 
> -java.management.rmi_ADD_JAVAC_FLAGS := -Xdoclint:all/protected,-reference '-Xdoclint/package:javax.*'
> +java.management.rmi_ADD_JAVAC_FLAGS := -Xdoclint:all/protected '-Xdoclint/package:javax.*'
> 
> ################################################################################
> 
> 




More information about the build-dev mailing list