--- a/make/common/Modules.gmk Thu Dec 08 17:13:07 2016 +0100
+++ b/make/common/Modules.gmk Sun Dec 11 12:09:13 2016 -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