< prev index next >

test/langtools/tools/javac/failover/CheckAttributedTree.java

Print this page
*** 24,10 ***
--- 24,11 ---
  /*
   * @test
   * @bug 6970584 8006694 8062373 8129962
   * @summary assorted position errors in compiler syntax trees
   *  temporarily workaround combo tests are causing time out in several platforms
+  * @enablePreview
   * @library ../lib
   * @modules java.desktop
   *          jdk.compiler/com.sun.tools.javac.api
   *          jdk.compiler/com.sun.tools.javac.code
   *          jdk.compiler/com.sun.tools.javac.file

*** 404,11 ***
                          that.hasTag(VARDEF) ||
                          that.hasTag(METHODDEF) ||
                          that.hasTag(CLASSDEF);
              }
  
!             private final List<String> excludedFields = Arrays.asList("varargsElement", "targetType");
  
              void check(boolean ok, String label, Info self) {
                  if (!ok) {
                      if (gui) {
                          if (viewer == null)
--- 405,11 ---
                          that.hasTag(VARDEF) ||
                          that.hasTag(METHODDEF) ||
                          that.hasTag(CLASSDEF);
              }
  
!             private final List<String> excludedFields = Arrays.asList("varargsElement", "targetType", "factoryProduct");
  
              void check(boolean ok, String label, Info self) {
                  if (!ok) {
                      if (gui) {
                          if (viewer == null)
< prev index next >