< prev index next >

test/langtools/tools/javac/switchexpr/ExpressionSwitchUnreachable.java

Print this page
rev 51258 : imported patch switch
rev 51259 : imported patch switch.01

@@ -1,8 +1,9 @@
-/**
+/*
  * @test /nodynamiccopyright/
  * @bug 8206986
+ * @summary Verify reachability in switch expressions.
  * @compile/fail/ref=ExpressionSwitchUnreachable.out -XDrawDiagnostics --enable-preview -source 12 ExpressionSwitchUnreachable.java
  */
 
 public class ExpressionSwitchUnreachable {
 
< prev index next >