changeset 50624:10d2bee4357d condy-folding

fix for regression test NonDenotableTest
author vromero
date Fri, 11 May 2018 10:19:27 -0700
parents de1b9c4ce173
children 528fce34226e
files test/langtools/tools/javac/lvti/harness/NonDenotableTest.java
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/test/langtools/tools/javac/lvti/harness/NonDenotableTest.java	Fri May 11 07:45:45 2018 -0700
+++ b/test/langtools/tools/javac/lvti/harness/NonDenotableTest.java	Fri May 11 10:19:27 2018 -0700
@@ -125,9 +125,6 @@
         @InferredType(SEL_INT_ENUM_SEL)
         var c = s;
         for (@InferredType(SEL_INT_ENUM_SEL) var s2 = s ; ;) { break; }
-        // the following two are failing after the change made to Enum (extending Constable)
-        for (@InferredType(SEL_INT_ENUM_SEL) var s2 : arrayOf(s)) { break; }
-        for (@InferredType(SEL_INT_ENUM_SEL) var s2 : listOf(s)) { break; }
     }
 
     List<? extends String> extString() { return null; }