8215239: Make deletes images/jdk/bin/java if something goes wrong
Reviewed-by: redestad, dholmes, tbell, ihse
--- a/make/Images.gmk Wed Dec 12 18:43:16 2018 +0100
+++ b/make/Images.gmk Wed Dec 12 09:50:39 2018 -0800
@@ -36,7 +36,7 @@
# Hook to include the corresponding custom file, if present.
$(eval $(call IncludeCustomExtension, Images-pre.gmk))
-############################################################################
+################################################################################
# All modules for the current target platform.
ALL_MODULES := $(call FindAllModules)
@@ -57,7 +57,7 @@
JMODS := $(wildcard $(IMAGES_OUTPUTDIR)/jmods/*.jmod)
# Use this file inside the image as target for make rule
-JIMAGE_TARGET_FILE := bin/java$(EXE_SUFFIX)
+JIMAGE_TARGET_FILE := release
JLINK_ORDER_RESOURCES := **module-info.class
JLINK_JLI_CLASSES :=