--- old/make/common/Modules.gmk 2016-12-07 16:43:43.040019776 -0800 +++ new/make/common/Modules.gmk 2016-12-07 16:43:42.984017316 -0800 @@ -145,6 +145,13 @@ endif ################################################################################ +# Filter out specific modules + +ifeq ($(INCLUDE_GRAAL), false) + MODULES_FILTER += jdk.vm.compiler +endif + +################################################################################ # Module list macros # Use append so that the custom extension may add to these variables