8157507: JDK-8157348 broke gensrc of imported modules

Reviewed-by: alanb, tbell, mchung
This commit is contained in:
Erik Joelsson 2016-05-21 18:21:53 +02:00
parent f39d18983b
commit 434e536704

View File

@ -93,7 +93,9 @@ ifneq ($(MOD_FILES), )
# 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.