RFR: JDK-8290901: Reduce use of -source in langtools tests [v2]
Joe Darcy
darcy at openjdk.org
Fri Jul 29 00:27:49 UTC 2022
On Thu, 28 Jul 2022 22:11:28 GMT, Jonathan Gibbons <jjg at openjdk.org> wrote:
>> Joe Darcy has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Update copyrights.
>
> test/langtools/tools/javac/generics/7015430/T7015430.java line 7:
>
>> 5: * @summary Incorrect thrown type determined for unchecked invocations
>> 6: * @author Daniel Smith
>> 7: * @compile/fail/ref=T7015430_1.out --release 7 -Xlint:-options,unchecked -XDrawDiagnostics T7015430.java
>
> You may be able to remove `-options` from `-Xlint` -- the value is probably there to suppress the warnings that you have deleted elsewhere
There are warnings for using "--release 7" because of the age of 7, but otherwise I've updated the PR to remove unneeded uses of -Xlint:-options.
-------------
PR: https://git.openjdk.org/jdk/pull/9622
More information about the compiler-dev
mailing list