< prev index next >

test/langtools/tools/javac/StringsInSwitch/BadlyTypedLabel1.java

Print this page

        

@@ -1,10 +1,9 @@
 /*
  * @test  /nodynamiccopyright/
  * @bug 6827009
  * @summary Check for case labels of different types.
- * @compile/fail/ref=BadlyTypedLabel1_6.out -XDrawDiagnostics -source 6 BadlyTypedLabel1.java
  * @compile/fail/ref=BadlyTypedLabel1.out -XDrawDiagnostics BadlyTypedLabel1.java
  */
 class BadlyTypedLabel1 {
     String m(String s) {
         switch(s) {
< prev index next >