Suppress notes generated on incremental microbenchmark builds

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 23
    • Affects Version/s: None
    • Component/s: infrastructure
    • None
    • b07

      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.

      Supplying -nowarn works, but that suppresses everything. To carefully disable this without disabling linters and other warnings it seems one option is to supply the -XDsuppressNotes flag to the javac execution.

            Assignee:
            Claes Redestad
            Reporter:
            Claes Redestad
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: