JDK 9 RFR of JDK-8036842: Remove unneeded/obsolete -source/-target options in javac tests, part 2
Jonathan Gibbons
jonathan.gibbons at oracle.com
Fri Mar 7 20:56:38 UTC 2014
On 03/07/2014 12:48 PM, Sonali Goel wrote:
>>>
>>
>> Do you mean a different file? T6384542.java has been deleted.
> I think Jon is referring to test/tools/javac/enum/6384542/T6384542a.java.
> They both test the use of enum keyword as an identifier.
>
> Thanks,
> Sonali
Yes. In these two lines, the first one seems redundant:
6 * @compile/fail T6384542a.java
7 * @compile/fail/ref=T6384542a_5.out -Xlint:-options -XDrawDiagnostics T6384542a.java
-- Jon
More information about the compiler-dev
mailing list