< prev index next >

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

Print this page
*** 24,10 ***
--- 24,11 ---
  /*
   * @test
   * @bug 8278834
   * @summary Verify pattern matching nested inside initializers of classes nested in methods
   *          works correctly.
+  * @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
< prev index next >