> On Apr 28, 2016, at 5:33 AM, Erik Joelsson <[email protected]> wrote: > > We have a mechanism to exclude certain modules completely from a build. This > is handled with the MODULES_FILTER variable. It's currently flawed in that it > doesn't apply to imported modules (--with-import-modules). > > Bug: https://bugs.openjdk.java.net/browse/JDK-8155629 > Patch: > diff -r d8b1e1832b0e make/common/Modules.gmk > --- a/make/common/Modules.gmk > +++ b/make/common/Modules.gmk > @@ -186,7 +186,8 @@ > $(call GetModuleNameFromModuleInfo, $(MODULE_INFOS)))) > > FindImportedModules = \ > - $(if $(IMPORT_MODULES_CLASSES), $(notdir $(wildcard > $(IMPORT_MODULES_CLASSES)/*))) > + $(filter-out $(MODULES_FILTER), \ > + $(if $(IMPORT_MODULES_CLASSES), $(notdir $(wildcard > $(IMPORT_MODULES_CLASSES)/*)))) > > # Find all source dirs for a particular module > # $1 - Module to find source dirs for >
+1 Mandy
