# HG changeset patch # User ptbrunet # Date 1410897507 18000 # Node ID fba66a2e8961cfc65f1e4d575e45bf8244225bbf # Parent 2a4b66b4d50a96260ca38ae2e9df01535d772f7e 8058579: Copy-java.base.gmk no longer needs to differentiate win32 and win64 java.policy Summary: replace java.policy-win32/64 with just java.policy Reviewed-by: mchung, erikj Contributed-by: peter.brunet@oracle.com diff -r 2a4b66b4d50a -r fba66a2e8961 jdk/make/copy/Copy-java.base.gmk --- a/jdk/make/copy/Copy-java.base.gmk Tue Sep 16 09:26:06 2014 -0700 +++ b/jdk/make/copy/Copy-java.base.gmk Tue Sep 16 14:58:27 2014 -0500 @@ -172,14 +172,8 @@ POLICY_SRC_LIST += $(JDK_TOPDIR)/src/java.base/$(OPENJDK_TARGET_OS)/conf/security/java.policy endif ifndef OPENJDK - ifeq ($(OPENJDK_TARGET_OS), windows) - ifeq ($(OPENJDK_TARGET_CPU_BITS), 32) - POLICY_SRC_LIST += $(JDK_TOPDIR)/src/closed/java.base/$(OPENJDK_TARGET_OS)/conf/security/java.policy-win32 - else - POLICY_SRC_LIST += $(JDK_TOPDIR)/src/closed/java.base/$(OPENJDK_TARGET_OS)/conf/security/java.policy-win64 - endif - endif - ifeq ($(OPENJDK_TARGET_OS), solaris) + # if $(OPENJDK_TARGET_OS) is windows or solaris + ifneq ($(findstring $(OPENJDK_TARGET_OS), windows solaris), ) POLICY_SRC_LIST += $(JDK_TOPDIR)/src/closed/java.base/$(OPENJDK_TARGET_OS)/conf/security/java.policy endif endif