< prev index next >

test/langtools/tools/javac/diags/examples/BreakOutsideSwitchExpression.java

Print this page
rev 56510 : 8232684: Make switch expressions final
Reviewed-by: TBD

@@ -20,13 +20,10 @@
  * or visit www.oracle.com if you need additional information or have any
  * questions.
  */
 
 // key: compiler.err.break.outside.switch.expression
-// key: compiler.note.preview.filename
-// key: compiler.note.preview.recompile
-// options: --enable-preview -source ${jdk.version}
 
 class BreakOutsideSwitchExpression {
     int t(int i) {
         OUT: while (true) {
             return switch (i) {
< prev index next >