--- old/make/common/Modules.gmk 2018-07-09 21:36:35.000000000 -0700 +++ new/make/common/Modules.gmk 2018-07-09 21:36:35.000000000 -0700 @@ -205,7 +205,14 @@ endif ################################################################################ -# Filter out Graal specific modules if Graal build is disabled +# Filter out jvmci specific modules if jvmci is disabled + +ifeq ($(INCLUDE_JVMCI), false) + MODULES_FILTER += jdk.internal.vm.ci +endif + +################################################################################ +# Filter out Graal specific modules if Graal is disabled ifeq ($(INCLUDE_GRAAL), false) MODULES_FILTER += jdk.internal.vm.compiler