< prev index next >
test/langtools/tools/javac/StringsInSwitch/NonConstantLabel.java
Print this page
@@ -1,10 +1,9 @@
/*
* @test /nodynamiccopyright/
* @bug 6827009
* @summary Check for non-constant case labels.
- * @compile/fail/ref=NonConstantLabel6.out -XDrawDiagnostics -source 6 NonConstantLabel.java
* @compile/fail/ref=NonConstantLabel.out -XDrawDiagnostics NonConstantLabel.java
*/
class NonConstantLabel {
String m(String s) {
String fauxConstant = "Goodbye Cruel World";
< prev index next >