@@ -36,7 +36,7 @@ TEST_LIB_SUPPORT := $(SUPPORT_OUTPUTDIR)/test/lib
36
36
37
37
$(eval $(call SetupJavaCompilation, BUILD_WB_JAR, \
38
38
TARGET_RELEASE := $(TARGET_RELEASE_NEWJDK_UPGRADED), \
39
- SRC := $(TEST_LIB_SOURCE_DIR)/jdk/test/whitebox/parser , \
39
+ SRC := $(TEST_LIB_SOURCE_DIR)/jdk/test/whitebox/, \
40
40
BIN := $(TEST_LIB_SUPPORT)/wb_classes, \
41
41
JAR := $(TEST_LIB_SUPPORT)/wb.jar, \
42
42
DISABLED_WARNINGS := deprecation removal preview, \
@@ -53,7 +53,13 @@ $(eval $(call SetupJavaCompilation, BUILD_TEST_LIB_JAR, \
53
53
HEADERS := $(TEST_LIB_SUPPORT)/test-lib_headers, \
54
54
JAR := $(TEST_LIB_SUPPORT)/test-lib.jar, \
55
55
DISABLED_WARNINGS := try deprecation rawtypes unchecked serial cast removal preview, \
56
- JAVAC_FLAGS := --enable-preview, \
56
+ JAVAC_FLAGS := --add-exports java.base/sun.security.util=ALL-UNNAMED \
57
+ --add-exports java.base/jdk.internal.classfile=ALL-UNNAMED \
58
+ --add-exports java.base/jdk.internal.classfile.attribute=ALL-UNNAMED \
59
+ --add-exports java.base/jdk.internal.classfile.constantpool=ALL-UNNAMED \
60
+ --add-exports java.base/jdk.internal.classfile.java.lang.constant=ALL-UNNAMED \
61
+ --add-exports java.base/jdk.internal.module=ALL-UNNAMED \
62
+ --enable-preview, \
57
63
))
58
64
59
65
TARGETS += $(BUILD_TEST_LIB_JAR)
3 commit comments
openjdk-notifier[bot] commentedon May 10, 2023
Review
Issues
vish-chan commentedon Sep 27, 2023
/backport jdk17u-dev
openjdk[bot] commentedon Sep 27, 2023
@vish-chan To use the
/backport
command, you need to be in the OpenJDK census and your GitHub account needs to be linked with your OpenJDK username (how to associate your GitHub account with your OpenJDK username).