Failed

org.eclipse.jdt.core.tests.compiler.regression.GenericsRegressionTest_1_7.testBug469653 - 1.8 (from org.eclipse.jdt.core.tests.compiler.regression.TestAll)

Failing for the past 52 builds (Since #64 )
Took 0.62 sec.

Error Message

testBug469653 - Eclipse found error(s) but Javac did not find any.
----------- Expected ------------

------------ but was ------------
----------\n
1. ERROR in Code.java (at line 11)\n
 Iterator<String> reverseServices = ImmutableList.copyOf(services).reverse().iterator();\n
                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n
Type mismatch: cannot convert from Iterator<capture#1-of ? extends String> to Iterator<String>\n
----------\n

--------- Difference is ----------
 expected:<[]> but was:<[----------\n
1. ERROR in Code.java (at line 11)\n
 Iterator<String> reverseServices = ImmutableList.copyOf(services).reverse().iterator();\n
                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n
Type mismatch: cannot convert from Iterator<capture#1-of ? extends String> to Iterator<String>\n
----------\n
]>

Stacktrace

junit.framework.ComparisonFailure: 
testBug469653 - Eclipse found error(s) but Javac did not find any.
----------- Expected ------------

------------ but was ------------
----------\n
1. ERROR in Code.java (at line 11)\n
	Iterator<String> reverseServices = ImmutableList.copyOf(services).reverse().iterator();\n
	                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n
Type mismatch: cannot convert from Iterator<capture#1-of ? extends String> to Iterator<String>\n
----------\n

--------- Difference is ----------
 expected:<[]> but was:<[----------\n
1. ERROR in Code.java (at line 11)\n
	Iterator<String> reverseServices = ImmutableList.copyOf(services).reverse().iterator();\n
	                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n
Type mismatch: cannot convert from Iterator<capture#1-of ? extends String> to Iterator<String>\n
----------\n
]>
	at org.eclipse.jdt.core.tests.compiler.regression.GenericsRegressionTest_1_7.testBug469653(GenericsRegressionTest_1_7.java:3042)

Standard Output

org.eclipse.jdt.core.tests.compiler.regression.GenericsRegressionTest_1_7#testBug469653 - 1.8
Code.java [
import java.util.*;

class ImmutableList<E> {
	static <F> ImmutableList<F> copyOf(Iterable<? extends F> in) { return null; }
	ImmutableList<E> reverse() { return this; }
	Iterator<E> iterator() { return null; }
}
public class Code {
  public static void test() {
      Iterable<? extends String> services = null;
      Iterator<String> reverseServices = ImmutableList.copyOf(services).reverse().iterator();
  }
}
]


Full results sent to /tmp/genie.jdt/comptest/run.1566687977074/1.8.0_162_20190824_190625.txt

Standard Error

----------------------------------------