--- 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) $@