jdk/make/gensrc/GensrcProperties.gmk
changeset 27799 097b1d6f6894
parent 27565 729f9700483a
parent 27753 a6c284fa0745
child 29096 e91fff38083a
--- a/jdk/make/gensrc/GensrcProperties.gmk	Wed Jul 05 20:08:43 2017 +0200
+++ b/jdk/make/gensrc/GensrcProperties.gmk	Wed Dec 03 19:28:35 2014 +0000
@@ -58,13 +58,15 @@
   $1_CLASS := $3
 
   # Convert .../src/<module>/share/classes/com/sun/tools/javac/resources/javac_zh_CN.properties
-  # to .../langtools/gensrc/<module>/com/sun/tools/javac/resources/javac_zh_CN.java
+  # to .../support/gensrc/<module>/com/sun/tools/javac/resources/javac_zh_CN.java
   # Strip away prefix and suffix, leaving for example only: 
   # "<module>/share/classes/com/sun/tools/javac/resources/javac_zh_CN"
   $1_JAVAS := $$(patsubst $(JDK_TOPDIR)/src/%, \
       $(SUPPORT_OUTPUTDIR)/gensrc/%, \
       $$(patsubst %.properties, %.java, \
-      $$(subst /share/classes,, $$($1_SRCS))))
+      $$(subst /$(OPENJDK_TARGET_OS)/classes,, \
+      $$(subst /$(OPENJDK_TARGET_OS_TYPE)/classes,, \
+      $$(subst /share/classes,, $$($1_SRCS))))))
 
   # Generate the package dirs for the to be generated java files. Sort to remove
   # duplicates.