make/CompileJavaModules.gmk
changeset 51207 fc24da4898f1
parent 50878 fb7800b66c92
child 51436 091c0d22e735
child 56847 77e4d458678e
--- 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))