8216275: Disable annotation processing lint warnings when building microbenchmarks
authorredestad
Mon, 07 Jan 2019 17:09:17 +0100
changeset 53159 9339773f2530
parent 53158 b01fe6b2502c
child 53160 7d1efad039a3
8216275: Disable annotation processing lint warnings when building microbenchmarks Reviewed-by: erikj, ecaspole
make/test/BuildMicrobenchmark.gmk
--- a/make/test/BuildMicrobenchmark.gmk	Mon Jan 07 09:29:31 2019 -0500
+++ b/make/test/BuildMicrobenchmark.gmk	Mon Jan 07 17:09:17 2019 +0100
@@ -1,5 +1,5 @@
 #
-# Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved.
 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 #
 # This code is free software; you can redistribute it and/or modify it
@@ -78,7 +78,7 @@
 # Build microbenchmark suite for the current JDK
 $(eval $(call SetupJavaCompilation, BUILD_JDK_MICROBENCHMARK, \
     SETUP := MICROBENCHMARK_JAVA_COMPILER, \
-    ADD_JAVAC_FLAGS := -cp $(MICROBENCHMARK_CLASSPATH) -Xlint -Werror, \
+    ADD_JAVAC_FLAGS := -cp $(MICROBENCHMARK_CLASSPATH) -Xlint -Xlint:-processing -Werror, \
     SRC := $(MICROBENCHMARK_SRC), \
     BIN := $(MICROBENCHMARK_CLASSES), \
 ))