mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 02:54:35 +02:00
6900037: javac should warn if earlier -source is used and bootclasspath not set
Reviewed-by: darcy
This commit is contained in:
parent
68ea64e30f
commit
be8a607fef
39 changed files with 193 additions and 72 deletions
|
@ -22,7 +22,7 @@
|
|||
*/
|
||||
|
||||
// key: compiler.err.string.switch.not.supported.in.source
|
||||
// options: -source 6
|
||||
// options: -source 6 -Xlint:-options
|
||||
|
||||
class StringSwitchNotSupported {
|
||||
int m(String s) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue