Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8347141

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P5 P5
    • 25
    • 25
    • tools
    • jdk-25+4-36-ge413fc643c4

    • b06
    • generic
    • generic

      Several of the javac regression 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 use of "-path" appears to be leftover cruft from long ago.

      Discussion: https://mail.openjdk.org/pipermail/compiler-dev/2024-November/028514.html

            acobbs Archie Cobbs
            acobbs Archie Cobbs
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: