< prev index next >

test/langtools/tools/javac/patterns/BreakAndLoops.java

Print this page
@@ -23,10 +23,11 @@
  
  /*
   * @test
   * @bug 8234922
   * @summary Verify proper scope of binding related to loops and breaks.
+  * @enablePreview
   * @library /tools/lib /tools/javac/lib
   * @modules
   *      jdk.compiler/com.sun.tools.javac.api
   *      jdk.compiler/com.sun.tools.javac.file
   *      jdk.compiler/com.sun.tools.javac.main

@@ -235,6 +236,6 @@
          @Override
          public String expand(String optParameter) {
              return code;
          }
      }
- }
+ }
< prev index next >