-
Enhancement
-
Resolution: Fixed
-
P4
-
None
-
b03
Currently the microbenchmark build fails if one adds a microbenchmark using annotations not claimed by the JMH annotation processor - say, a micro creating JFR events:
=== Output from failing command(s) repeated here ===
* For target support_test_micro_classes__the.BUILD_JDK_MICROBENCHMARK_batch:
warning: No processor claimed any of these annotations: jdk.jfr/jdk.jfr.Enabled,jdk.jfr/jdk.jfr.Name,jdk.jfr/jdk.jfr.Registered,jdk.jfr/jdk.jfr.StackTrace
error: warnings found and -Werror specified
1 error
1 warning
Solution: add -Xlint:-processing after -Xlint in make/test/BuildMicrobenchmark.gmk
=== Output from failing command(s) repeated here ===
* For target support_test_micro_classes__the.BUILD_JDK_MICROBENCHMARK_batch:
warning: No processor claimed any of these annotations: jdk.jfr/jdk.jfr.Enabled,jdk.jfr/jdk.jfr.Name,jdk.jfr/jdk.jfr.Registered,jdk.jfr/jdk.jfr.StackTrace
error: warnings found and -Werror specified
1 error
1 warning
Solution: add -Xlint:-processing after -Xlint in make/test/BuildMicrobenchmark.gmk