changeset 34877:0583de363a12

8146425: After change 8142907 'EXCLUDE_FILE' is wrongly interpreted as pattern Reviewed-by: erikj
author simonis
date Tue, 05 Jan 2016 18:53:27 +0100
parents a634e2ae08ae
children 7d7e55ff253a
files jdk/make/lib/NioLibraries.gmk
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/jdk/make/lib/NioLibraries.gmk	Tue Jan 05 10:09:48 2016 -0500
+++ b/jdk/make/lib/NioLibraries.gmk	Tue Jan 05 18:53:27 2016 +0100
@@ -58,7 +58,10 @@
 ifeq ($(OPENJDK_TARGET_OS), aix)
   BUILD_LIBNIO_MAPFILE:=$(JDK_TOPDIR)/make/mapfiles/libnio/mapfile-$(OPENJDK_TARGET_OS)
   BUILD_LIBNIO_EXFILES += \
-      NativeThread.c
+      /NativeThread.c
+  # Notice: we really need the leading slash here because otherwise every
+  # FILE_NAME in EXCLUDE_FILES will actually match any file ending in FILE_NAME
+  # (e.g. 'NativeThread.c' will also exclude 'AixNativeThread.c').
 endif
 
 $(eval $(call SetupNativeCompilation,BUILD_LIBNIO, \