--- a/make/CompileJavaModules.gmk Thu Jul 19 13:41:56 2018 -0700
+++ b/make/CompileJavaModules.gmk Thu Jul 19 14:25:42 2018 -0700
@@ -621,9 +621,14 @@
$(install-file)
CreateHkTargets = \
- $(patsubst $(TOPDIR)/src/%, $(JDK_OUTPUTDIR)/modules/%, \
- $(subst /share/classes,, \
- $(subst _zh_TW,_zh_HK, $(filter %_zh_TW.properties, $1))))
+ $(call FilterExcludedTranslations, \
+ $(patsubst $(TOPDIR)/src/%, $(JDK_OUTPUTDIR)/modules/%, \
+ $(subst /share/classes,, \
+ $(subst _zh_TW,_zh_HK, $(filter %_zh_TW.properties, $1)) \
+ ) \
+ ), \
+ .properties \
+ )
ifeq ($(MODULE), java.sql.rowset)
TARGETS += $(call CreateHkTargets, $(java.sql.rowset_CLEAN_FILES))