From 434e536704dfc2d6b79ed448de97a56fa277bd96 Mon Sep 17 00:00:00 2001 From: Erik Joelsson Date: Sat, 21 May 2016 18:21:53 +0200 Subject: [PATCH] 8157507: JDK-8157348 broke gensrc of imported modules Reviewed-by: alanb, tbell, mchung --- make/GensrcModuleInfo.gmk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/make/GensrcModuleInfo.gmk b/make/GensrcModuleInfo.gmk index 757b268758f..7e64de4f0f6 100644 --- a/make/GensrcModuleInfo.gmk +++ b/make/GensrcModuleInfo.gmk @@ -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.