8006873: SWAT-b74 msvcr100.dll does not have the permission for all
Reviewed-by: alanb, tbell
--- a/jdk/makefiles/CopyFiles.gmk Wed Jul 05 18:37:13 2017 +0200
+++ b/jdk/makefiles/CopyFiles.gmk Tue Jan 29 16:35:24 2013 +0100
@@ -267,10 +267,12 @@
ifeq ($(OPENJDK_TARGET_OS),windows)
MSVCR_TARGET := $(JDK_OUTPUTDIR)/bin/$(notdir $(MSVCR_DLL))
+ # Chmod to avoid permission issues if bundles are unpacked on unix platforms.
$(MSVCR_TARGET): $(MSVCR_DLL)
$(MKDIR) -p $(@D)
$(RM) $@
$(CP) $< $@
+ $(CHMOD) a+rx $@
COPY_FILES += $(MSVCR_TARGET)
endif