< prev index next >

make/test/BuildMicrobenchmark.gmk

Print this page
@@ -92,12 +92,12 @@
      SMALL_JAVA := false, \
      CLASSPATH := $(MICROBENCHMARK_CLASSPATH), \
      DISABLED_WARNINGS := processing rawtypes cast serial, \
      SRC := $(MICROBENCHMARK_SRC), \
      BIN := $(MICROBENCHMARK_CLASSES), \
-     JAVAC_FLAGS := --add-exports java.base/sun.security.util=ALL-UNNAMED, \
-     JAVA_FLAGS := --add-modules jdk.unsupported --limit-modules java.management, \
+     JAVAC_FLAGS := --add-exports java.base/sun.security.util=ALL-UNNAMED --add-exports java.base/jdk.internal.vm=ALL-UNNAMED --enable-preview, \
+     JAVA_FLAGS := --add-modules jdk.unsupported --add-exports java.base/jdk.internal.vm=ALL-UNNAMED --limit-modules java.management --enable-preview, \
  ))
  
  $(BUILD_JDK_MICROBENCHMARK): $(JMH_COMPILE_JARS)
  
  # Run Indify
< prev index next >