RFR: 8323995: Suppress notes generated on incremental microbenchmark builds

Erik Joelsson erikj at openjdk.org
Wed Jan 17 13:55:49 UTC 2024


On Wed, 17 Jan 2024 13:35:23 GMT, Claes Redestad <redestad at openjdk.org> wrote:

> Incrementally building the OpenJDK microbenchmarks emit a "Note: Benchmark entries for <class>already exists, overwriting" for each microbenchmark class. This is generated by the JMH BenchmarkProcessor annotation processor via the javac messager framework.
> 
> To carefully disable this informative message without disabling all linters and warnings we can supply the undocumented `-XDsuppressNotes` flag.

Marked as reviewed by erikj (Reviewer).

-------------

PR Review: https://git.openjdk.org/jdk/pull/17464#pullrequestreview-1827350128


More information about the build-dev mailing list