< prev index next >

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

Print this page
*** 23,10 ***
--- 23,11 ---
  
  /*
   * @test
   * @bug 8260593
   * @summary Verify that a temporary storage variable is or is not used as needed when pattern matching.
+  * @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 >