RFR: JDK-8290901: Reduce use of -source in langtools tests [v5]

Joe Darcy darcy at openjdk.org
Fri Jul 29 17:34:58 UTC 2022


On Fri, 29 Jul 2022 17:25:02 GMT, Jonathan Gibbons <jjg at openjdk.org> wrote:

> You probably don't need the `-Xlint:-options` in this case, because you are not checking the output with a reference output file, so the warning is mostly harmless.
> 
> I'll approve the review and leave it to you to decide whether to suppress the `-Xlint:-options`

Yes; the test passes with or without `-Xlint:-options`. I left `-options` in to avoid spurious messages in the test output and for consistency with the other uses of --release 7, many of which have `-options`.

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

PR: https://git.openjdk.org/jdk/pull/9622


More information about the compiler-dev mailing list