diff -r 4d2a15091124 -r b3055c216762 hotspot/test/testlibrary/ctw/Makefile --- a/hotspot/test/testlibrary/ctw/Makefile Wed Jul 05 22:04:04 2017 +0200 +++ b/hotspot/test/testlibrary/ctw/Makefile Wed Aug 10 15:48:04 2016 -0700 @@ -58,10 +58,10 @@ ctw.jar: filelist wb.jar @mkdir -p $(OUTPUT_DIR) - $(JAVAC) -XaddExports:java.base/jdk.internal.jimage=ALL-UNNAMED \ - -XaddExports:java.base/jdk.internal.misc=ALL-UNNAMED \ - -XaddExports:java.base/jdk.internal.reflect=ALL-UNNAMED \ - -sourcepath $(SRC_DIR) -d $(OUTPUT_DIR) -cp wb.jar @filelist + $(JAVAC) --add-exports java.base/jdk.internal.jimage=ALL-UNNAMED \ + --add-exports java.base/jdk.internal.misc=ALL-UNNAMED \ + --add-exports java.base/jdk.internal.reflect=ALL-UNNAMED \ + -sourcepath $(SRC_DIR) -d $(OUTPUT_DIR) -cp wb.jar @filelist $(JAR) --create --file=$@ --main-class $(MAIN_CLASS) -C $(OUTPUT_DIR) . wb.jar: wb_filelist