Use fixpath instead of exe_suffix in Images.gmk JDK-8215445-branch
authorerikj
Fri, 21 Dec 2018 01:29:51 -0800
branchJDK-8215445-branch
changeset 57090 465c82e2d4c1
parent 57089 4629c26feded
child 57093 031640f92352
Use fixpath instead of exe_suffix in Images.gmk
make/Images.gmk
--- a/make/Images.gmk	Fri Dec 21 01:03:22 2018 -0800
+++ b/make/Images.gmk	Fri Dec 21 01:29:51 2018 -0800
@@ -99,7 +99,8 @@
 	)
         ifeq ($(BUILD_CDS_ARCHIVE), true)
 	  $(call LogWarn, Creating CDS archive for jdk image)
-	  $(JDK_IMAGE_DIR)/bin/java$(EXE_SUFFIX) -Xshare:dump -Xmx128M -Xms128M $(LOG_INFO)
+	  $(FIXPATH) $(JDK_IMAGE_DIR)/bin/java \
+	      -Xshare:dump -Xmx128M -Xms128M $(LOG_INFO)
         endif
 	$(TOUCH) $@
 
@@ -114,7 +115,8 @@
 	)
         ifeq ($(BUILD_CDS_ARCHIVE), true)
 	  $(call LogWarn, Creating CDS archive for jre image)
-	  $(JRE_IMAGE_DIR)/bin/java$(EXE_SUFFIX) -Xshare:dump -Xmx128M -Xms128M $(LOG_INFO)
+	  $(FIXPATH) $(JRE_IMAGE_DIR)/bin/java \
+	      -Xshare:dump -Xmx128M -Xms128M $(LOG_INFO)
         endif
 	$(TOUCH) $@