6900037: javac should warn if earlier -source is used and bootclasspath not set

Reviewed-by: darcy
This commit is contained in:
Jonathan Gibbons 2010-11-29 14:15:36 -08:00
parent 68ea64e30f
commit be8a607fef
39 changed files with 193 additions and 72 deletions

View file

@ -2,7 +2,7 @@
* @test /nodynamiccopyright/
* @bug 6860965
* @summary Project Coin: binary literals
* @compile/fail/ref=BadBinaryLiterals.6.out -XDrawDiagnostics -source 6 BadBinaryLiterals.java
* @compile/fail/ref=BadBinaryLiterals.6.out -XDrawDiagnostics -source 6 -Xlint:-options BadBinaryLiterals.java
* @compile/fail/ref=BadBinaryLiterals.7.out -XDrawDiagnostics BadBinaryLiterals.java
*/