< prev index next >

make/test/BuildTestLib.gmk

Print this page
@@ -56,20 +56,26 @@
  TARGETS += $(BUILD_WB_JAR)
  
  $(eval $(call SetupJavaCompilation, BUILD_TEST_LIB_JAR, \
      TARGET_RELEASE := $(TARGET_RELEASE_NEWJDK_UPGRADED), \
      SRC := $(TEST_LIB_SOURCE_DIR), \
-     EXCLUDES := jdk/test/lib/containers jdk/test/lib/security, \
+     EXCLUDES := jdk/test/lib/containers jdk/test/lib/security org, \
      BIN := $(TEST_LIB_SUPPORT)/test-lib_classes, \
      HEADERS := $(TEST_LIB_SUPPORT)/test-lib_headers, \
      JAR := $(TEST_LIB_SUPPORT)/test-lib.jar, \
-     DISABLED_WARNINGS := try deprecation rawtypes unchecked serial cast removal preview, \
+     DISABLED_WARNINGS := try deprecation rawtypes unchecked serial cast removal preview varargs, \
      JAVAC_FLAGS := --add-exports java.base/sun.security.util=ALL-UNNAMED \
          --add-exports java.base/jdk.internal.classfile=ALL-UNNAMED \
          --add-exports java.base/jdk.internal.classfile.attribute=ALL-UNNAMED \
          --add-exports java.base/jdk.internal.classfile.constantpool=ALL-UNNAMED \
          --add-exports java.base/jdk.internal.module=ALL-UNNAMED \
+         --add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED \
+         --add-exports jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED \
+         --add-exports jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED \
+         --add-exports jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED \
+         --add-exports jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED \
+         --add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED \
          --enable-preview, \
  ))
  
  TARGETS += $(BUILD_TEST_LIB_JAR)
  
< prev index next >