changeset 2115:c52e1a56db5d

8157507: JDK-8157348 broke gensrc of imported modules Reviewed-by: alanb, tbell, mchung
author erikj
date Sat, 21 May 2016 18:21:53 +0200
parents fa3dec0c2862
children 18c129c4a770
files make/GensrcModuleInfo.gmk
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/make/GensrcModuleInfo.gmk	Fri May 20 10:25:40 2016 +0200
+++ b/make/GensrcModuleInfo.gmk	Sat May 21 18:21:53 2016 +0200
@@ -93,7 +93,9 @@
   # Param 1 - Name of package with dots
   PackageExists = \
       $(strip $(wildcard $(addsuffix $(subst .,/,/$(strip $1)), \
-          $(MODULE_CLASSES_DIRS))))
+          $(MODULE_CLASSES_DIRS) \
+          $(addsuffix /$(MODULE), $(IMPORT_MODULES_CLASSES)) \
+      )))
 
   # Convert the modification lines into arguments for the modification tool.
   # Filter out modifications for non existing to-modules.