8213005: Missing symbols in hs_err files on Windows after JDK-8212028
authorerikj
Thu, 25 Oct 2018 16:47:14 -0700
changeset 52295 57d299cdd068
parent 52294 bd8c721954a4
child 52296 26207007d234
8213005: Missing symbols in hs_err files on Windows after JDK-8212028 Reviewed-by: ctornqvi
make/RunTests.gmk
make/RunTestsPrebuiltSpec.gmk
--- a/make/RunTests.gmk	Thu Oct 25 19:12:39 2018 -0400
+++ b/make/RunTests.gmk	Thu Oct 25 16:47:14 2018 -0700
@@ -65,10 +65,14 @@
   ifndef _NT_SYMBOL_PATH
     # Can't use PathList here as it adds quotes around the value.
     _NT_SYMBOL_PATH := \
-        $(subst $(SPACE),;, $(foreach p, $(sort $(dir $(wildcard \
-        $(addprefix $(SYMBOLS_IMAGE_DIR)/bin/, *.pdb */*.pdb)))), $(call FixPath, $p)))
+        $(subst $(SPACE),;,$(strip \
+            $(foreach p, $(sort $(dir $(wildcard \
+                $(addprefix $(SYMBOLS_IMAGE_DIR)/bin/, *.pdb */*.pdb)))), \
+              $(call FixPath, $p) \
+            ) \
+        ))
     export _NT_SYMBOL_PATH
-    $(info _NT_SYMBOL_PATH $(_NT_SYMBOL_PATH))
+    $(info _NT_SYMBOL_PATH=$(_NT_SYMBOL_PATH))
   endif
 endif
 
--- a/make/RunTestsPrebuiltSpec.gmk	Thu Oct 25 19:12:39 2018 -0400
+++ b/make/RunTestsPrebuiltSpec.gmk	Thu Oct 25 16:47:14 2018 -0700
@@ -182,3 +182,7 @@
   SED := gsed
   TAR := gtar
 endif
+
+ifeq ($(OPENJDK_BUILD_OS), windows)
+  CYGPATH := cygpath
+endif