< prev index next >

make/test/BuildMicrobenchmark.gmk

Print this page
@@ -91,27 +91,29 @@
  # Build microbenchmark suite for the current JDK
  $(eval $(call SetupJavaCompilation, BUILD_JDK_MICROBENCHMARK, \
      TARGET_RELEASE := $(TARGET_RELEASE_NEWJDK_UPGRADED), \
      SMALL_JAVA := false, \
      CLASSPATH := $(MICROBENCHMARK_CLASSPATH), \
-     DISABLED_WARNINGS := restricted this-escape processing rawtypes cast serial preview, \
+     DISABLED_WARNINGS := restricted this-escape processing rawtypes unchecked cast serial preview deprecation, \
      SRC := $(MICROBENCHMARK_SRC), \
      BIN := $(MICROBENCHMARK_CLASSES), \
      JAVAC_FLAGS := --add-exports java.base/sun.security.util=ALL-UNNAMED \
          --add-exports java.base/sun.invoke.util=ALL-UNNAMED \
          --add-exports java.base/jdk.internal.classfile=ALL-UNNAMED \
          --add-exports java.base/jdk.internal.classfile.attribute=ALL-UNNAMED \
          --add-exports java.base/jdk.internal.classfile.constantpool=ALL-UNNAMED \
          --add-exports java.base/jdk.internal.classfile.instruction=ALL-UNNAMED \
          --add-exports java.base/jdk.internal.classfile.components=ALL-UNNAMED \
          --add-exports java.base/jdk.internal.classfile.impl=ALL-UNNAMED \
+         --add-exports java.base/jdk.internal.misc=ALL-UNNAMED \
          --add-exports java.base/jdk.internal.org.objectweb.asm=ALL-UNNAMED \
          --add-exports java.base/jdk.internal.org.objectweb.asm.tree=ALL-UNNAMED \
          --add-exports java.base/jdk.internal.vm=ALL-UNNAMED \
          --add-exports java.base/jdk.internal.misc=ALL-UNNAMED \
          --add-exports java.base/jdk.internal.event=ALL-UNNAMED \
          --add-exports java.base/jdk.internal.foreign=ALL-UNNAMED \
+         -XDenablePrimitiveClasses \
          --enable-preview \
          -processor org.openjdk.jmh.generators.BenchmarkProcessor, \
      JAVA_FLAGS := --add-modules jdk.unsupported --limit-modules java.management \
          --add-exports java.base/jdk.internal.vm=ALL-UNNAMED \
          --enable-preview, \
< prev index next >