8157507: JDK-8157348 broke gensrc of imported modules
authorerikj
Sat, 21 May 2016 18:21:53 +0200
changeset 37979 42ee4e537363
parent 37978 2614022b9fa5
child 37980 b2d5f366a9ba
8157507: JDK-8157348 broke gensrc of imported modules Reviewed-by: alanb, tbell, mchung
make/GensrcModuleInfo.gmk
--- 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.