Review request: JDK-8173085 Warning module name in --add-exports not found: jdk.jdeps when compiling for BUILD_JIGSAW_TOOLS

Jonathan Gibbons jonathan.gibbons at oracle.com
Thu Jan 19 23:46:59 UTC 2017


Looks OK to me.

-- Jon

On 01/19/2017 03:37 PM, Mandy Chung wrote:
> JDK-8172973 removes the warning emitted at run-time but --add-exports specified at compile-time is not removed.  Hence a javac warning is emitted.
>
> diff --git a/make/CompileModuleTools.gmk b/make/CompileModuleTools.gmk
> --- a/make/CompileModuleTools.gmk
> +++ b/make/CompileModuleTools.gmk
> @@ -37,6 +37,5 @@
>                   build/tools/jigsaw, \
>       BIN := $(TOOLS_CLASSES_DIR), \
>       ADD_JAVAC_FLAGS := \
> -        --add-exports jdk.jdeps/com.sun.tools.classfile=ALL-UNNAMED \
>           --add-exports java.base/jdk.internal.module=ALL-UNNAMED \
>   ))
>
> Mandy




More information about the build-dev mailing list