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

Mandy Chung mandy.chung at oracle.com
Thu Jan 19 23:37:16 UTC 2017


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