< prev index next >

test/langtools/tools/javac/lvti/harness/NonDenotableTest.java

Print this page
rev 52865 : [mq]: 8210031

@@ -121,12 +121,10 @@
 
     void testIntersection(Selector<?> s) {
         @InferredType(SEL_INT_ENUM_SEL)
         var c = s;
         for (@InferredType(SEL_INT_ENUM_SEL) var s2 = s ; ;) { break; }
-        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; }
     List<? super String> supString() { return null; }
     List<?> unbString() { return null; }
< prev index next >