8168037: Use ZIPEXE instead of ZIP to avoid clash with options for zip
Reviewed-by: erikj
--- a/hotspot/make/lib/CompileLibjsig.gmk Thu Nov 17 22:19:25 2016 +0000
+++ b/hotspot/make/lib/CompileLibjsig.gmk Tue Nov 22 14:48:16 2016 +0100
@@ -129,7 +129,7 @@
ifeq ($(ZIP_EXTERNAL_DEBUG_SYMBOLS), true)
$(LIB_OUTPUTDIR)/$1/$(LIBRARY_PREFIX)jsig.diz: \
$(LIB_OUTPUTDIR)/$1/$(LIBRARY_PREFIX)jsig$(DEBUG_INFO_SUFFIX)
- $(CD) $$(@D) && $(ZIP) -q -y $$@ $$(basename $$(@F))$(DEBUG_INFO_SUFFIX)
+ $(CD) $$(@D) && $(ZIPEXE) -q -y $$@ $$(basename $$(@F))$(DEBUG_INFO_SUFFIX)
TARGETS += $(LIB_OUTPUTDIR)/$1/$(LIBRARY_PREFIX)jsig.diz
endif
--- a/hotspot/test/Makefile Thu Nov 17 22:19:25 2016 +0000
+++ b/hotspot/test/Makefile Tue Nov 22 14:48:16 2016 +0100
@@ -50,7 +50,7 @@
UNAME = uname
UNIQ = uniq
WC = wc
-ZIP = zip
+ZIPEXE = zip
define NEWLINE
@@ -213,7 +213,7 @@
ZIP_UP_RESULTS = ( $(MKDIR) -p `$(DIRNAME) $(ARCHIVE_BUNDLE)` \
&& $(CD) $(ABS_TEST_OUTPUT_DIR) \
&& $(CHMOD) -R a+r . \
- && $(ZIP) -q -r $(ARCHIVE_BUNDLE) . )
+ && $(ZIPEXE) -q -r $(ARCHIVE_BUNDLE) . )
# important results files
SUMMARY_TXT = $(shell $(GETMIXEDPATH) "$(ABS_TEST_OUTPUT_DIR)/JTreport/text/summary.txt")
@@ -327,7 +327,7 @@
else ifeq ($(shell expr $(CONCURRENCY) \> 12), 1)
CONCURRENCY := 12
endif
-else
+else
CONCURRENCY := 1
endif
JTREG_BASIC_OPTIONS += -concurrency:$(CONCURRENCY)