RFR: 8347141: Several javac tests compile with an unnecessary -Xlint:-path flag

Vicente Romero vromero at openjdk.org
Wed Jan 8 14:52:38 UTC 2025


On Tue, 7 Jan 2025 22:29:47 GMT, Archie Cobbs <acobbs at openjdk.org> wrote:

> Please review this patch which removes unnecessary `-Xlint:-path` flags from a few javac regression tests.
> 
> These tests invoke the compiler with the `-Xlint:all,-path` flag, but the `path` option is unrelated to, and not needed for, the test.
> 
> The tests all succeed just fine without it, i.e., with `-Xlint:all` instead.
> 
> The suppression of the `path` lint category appears to be leftover cruft from long ago (at least, according to [this discussion](https://mail.openjdk.org/pipermail/compiler-dev/2024-November/028514.html)).

lgtm

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

Marked as reviewed by vromero (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/22958#pullrequestreview-2537356195


More information about the compiler-dev mailing list