RFR(T) : 8251526 : CTW fails to build after JDK-8251121
Igor Ignatyev
igor.ignatyev at oracle.com
Thu Aug 13 16:46:25 UTC 2020
Hi all,
could you please review this one-liner patch?
8251121 introduced a dependency b/w jdk/test/lib/util/CoreUtils and jtreg/SkippedException, b/c SkippedException wasn't on the source path, ctw build failed. the patch simply adds test/lib/jtreg/*.java to the source path.
JBS: https://bugs.openjdk.java.net/browse/JDK-8251526
patch:
> diff -r ce770ba672fe test/hotspot/jtreg/testlibrary/ctw/Makefile
> --- a/test/hotspot/jtreg/testlibrary/ctw/Makefile Wed Aug 12 12:37:16 2020 -0400
> +++ b/test/hotspot/jtreg/testlibrary/ctw/Makefile Thu Aug 13 09:42:09 2020 -0700
> @@ -45,6 +45,7 @@
> LIB_FILES = $(shell find $(TESTLIBRARY_DIR)/jdk/test/lib/ \
> $(TESTLIBRARY_DIR)/jdk/test/lib/process \
> $(TESTLIBRARY_DIR)/jdk/test/lib/util \
> + $(TESTLIBRARY_DIR)/jtreg \
> -maxdepth 1 -name '*.java')
> WB_SRC_FILES = $(shell find $(TESTLIBRARY_DIR)/sun/hotspot -name '*.java')
> EXPORTS=--add-exports java.base/jdk.internal.jimage=ALL-UNNAMED \
testing: cd test/hotspot/jtreg/testlibrary/ctw && make
Thanks,
-- Igor
More information about the hotspot-compiler-dev
mailing list