< prev index next >

make/test/BuildMicrobenchmark.gmk

Print this page
*** 89,14 ***
  # 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 := 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, \
  ))
  
  $(BUILD_JDK_MICROBENCHMARK): $(JMH_COMPILE_JARS)
  
--- 89,14 ---
  # 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 := processing rawtypes unchecked cast serial preview deprecation, \
      SRC := $(MICROBENCHMARK_SRC), \
      BIN := $(MICROBENCHMARK_CLASSES), \
!     JAVAC_FLAGS := --add-exports java.base/sun.security.util=ALL-UNNAMED -XDallowWithFieldOperator --enable-preview, \
      JAVA_FLAGS := --add-modules jdk.unsupported --limit-modules java.management, \
  ))
  
  $(BUILD_JDK_MICROBENCHMARK): $(JMH_COMPILE_JARS)
  
< prev index next >