RFR: 8361424: Eliminate Log methods mandatoryWarning() and mandatoryNote()

Archie Cobbs acobbs at openjdk.org
Fri Jul 18 01:46:52 UTC 2025


On Thu, 17 Jul 2025 21:43:09 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:

> So, if I'm correct, this patch only adds some missing factories to warning/note, right?

Correct - while most of the `MANDATORY` flags can be moved to `compiler.resources`, not all can, and that means that we now need new overrides for `warning()` and `note()` that allow the caller to pass that flag.

Thanks for the review!

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

PR Comment: https://git.openjdk.org/jdk/pull/26138#issuecomment-3086360318


More information about the compiler-dev mailing list