Skip to content

Commit 0865120

Browse files
bobpengxiemagicus
authored andcommitted
8274345: make build-test-lib is broken
Reviewed-by: erikj
1 parent 75404ea commit 0865120

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

make/test/BuildTestLib.gmk

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,10 @@ TEST_LIB_SUPPORT := $(SUPPORT_OUTPUTDIR)/test/lib
3636

3737
$(eval $(call SetupJavaCompilation, BUILD_WB_JAR, \
3838
TARGET_RELEASE := $(TARGET_RELEASE_NEWJDK_UPGRADED), \
39-
SRC := $(TEST_LIB_SOURCE_DIR)/sun, \
39+
SRC := $(TEST_LIB_SOURCE_DIR)/sun $(TEST_LIB_SOURCE_DIR)/jdk/test/whitebox/parser, \
4040
BIN := $(TEST_LIB_SUPPORT)/wb_classes, \
4141
JAR := $(TEST_LIB_SUPPORT)/wb.jar, \
42+
DISABLED_WARNINGS := deprecation removal, \
4243
))
4344

4445
TARGETS += $(BUILD_WB_JAR)
@@ -50,7 +51,7 @@ $(eval $(call SetupJavaCompilation, BUILD_TEST_LIB_JAR, \
5051
BIN := $(TEST_LIB_SUPPORT)/test-lib_classes, \
5152
HEADERS := $(TEST_LIB_SUPPORT)/test-lib_headers, \
5253
JAR := $(TEST_LIB_SUPPORT)/test-lib.jar, \
53-
DISABLED_WARNINGS := try deprecation rawtypes unchecked serial cast, \
54+
DISABLED_WARNINGS := try deprecation rawtypes unchecked serial cast removal, \
5455
))
5556

5657
TARGETS += $(BUILD_TEST_LIB_JAR)

0 commit comments

Comments
 (0)