< prev index next >

test/langtools/tools/javac/recovery/ClassBlockExits.java

Print this page
*** 23,10 ***
--- 23,11 ---
  
  /*
   * @test
   * @bug 8243047
   * @summary javac should not crash while processing exits in class initializers in Flow
+  * @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
   *          jdk.compiler/com.sun.tools.javac.util

*** 136,6 ***
          @Override
          public String expand(String optParameter) {
              return code;
          }
      }
! }
--- 137,6 ---
          @Override
          public String expand(String optParameter) {
              return code;
          }
      }
! }
< prev index next >