< prev index next >

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

Print this page
@@ -24,10 +24,11 @@
  /*
   * @test
   * @bug 8292756
   * @summary Verify the Scope can be safely and correctly resized to accommodate pattern binding variables
   *          when the Scope for a guard is constructed.
+  * @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 >