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.

Reply via email to