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

Chris Hegarty chris.hegarty at oracle.com
Fri Jan 20 13:42:13 UTC 2017


On 19/01/17 23:37, 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 \
>  ))

Looks good. Thanks Mandy.

-Chris.



More information about the build-dev mailing list