RFR: 8323995: Suppress notes generated on incremental microbenchmark builds
Magnus Ihse Bursie
ihse at openjdk.org
Thu Jan 18 08:54:12 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.
LGTM
-------------
Marked as reviewed by ihse (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/17464#pullrequestreview-1829157912
More information about the build-dev
mailing list