# HG changeset patch # User simonis # Date 1452015481 -3600 # Tue Jan 05 18:38:01 2016 +0100 # Node ID e1e562070b56e2ae72d5440220377981bed72a89 # Parent 3d452840f48299a36842760d17c0c8402f0e1266 8146425: After change 8142907 'EXCLUDE_FILE' is wrongly interpreted as pattern diff --git a/make/lib/NioLibraries.gmk b/make/lib/NioLibraries.gmk --- a/make/lib/NioLibraries.gmk +++ b/make/lib/NioLibraries.gmk @@ -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, \