mirror of
https://github.com/darlinghq/darling-openjdk.git
synced 2025-02-18 15:18:10 +00:00
8141051: Build test libs -source/-target 9
Reviewed-by: tbell, vlivanov
This commit is contained in:
parent
a0abb94e9f
commit
62017e75bc
@ -452,6 +452,8 @@ else
|
||||
|
||||
test-make: clean-test-make
|
||||
|
||||
build-test-lib: java
|
||||
|
||||
build-test-hotspot-jtreg-native: buildtools-jdk
|
||||
|
||||
build-test-jdk-jtreg-native: buildtools-jdk
|
||||
|
@ -35,25 +35,19 @@ TARGETS :=
|
||||
TEST_LIB_SOURCE_DIR := $(TOPDIR)/test/lib
|
||||
TEST_LIB_SUPPORT := $(SUPPORT_OUTPUTDIR)/test/lib
|
||||
|
||||
# Unfortunately, test-lib.jar does not compile properly without warnings.
|
||||
$(eval $(call SetupJavaCompiler, BOOT_JAVAC_NOWARNINGS, \
|
||||
JAVAC := $(JAVAC), \
|
||||
FLAGS := -XDignore.symbol.file=true -g, \
|
||||
DISABLE_SJAVAC := true, \
|
||||
))
|
||||
|
||||
$(eval $(call SetupJavaCompilation, BUILD_WB_JAR, \
|
||||
SETUP := BOOT_JAVAC, \
|
||||
SETUP := GENERATE_USINGJDKBYTECODE, \
|
||||
SRC := $(TEST_LIB_SOURCE_DIR)/sun, \
|
||||
BIN := $(TEST_LIB_SUPPORT), \
|
||||
JAR := $(TEST_LIB_SUPPORT)/wb.jar, \
|
||||
ADD_JAVAC_FLAGS := $(JAVAC_WARNINGS), \
|
||||
))
|
||||
|
||||
TARGETS += $(BUILD_WB_JAR)
|
||||
|
||||
# test-lib.jar will contain only hprof classes until JDK-8081381 is resolved
|
||||
$(eval $(call SetupJavaCompilation, BUILD_TEST_LIB_JAR, \
|
||||
SETUP := BOOT_JAVAC_NOWARNINGS, \
|
||||
SETUP := GENERATE_USINGJDKBYTECODE, \
|
||||
SRC := $(TEST_LIB_SOURCE_DIR)/share/classes/jdk/test/lib/hprof, \
|
||||
BIN := $(TEST_LIB_SUPPORT), \
|
||||
JAR := $(TEST_LIB_SUPPORT)/test-lib.jar, \
|
||||
|
Loading…
x
Reference in New Issue
Block a user