Failed

org.eclipse.jdt.core.tests.compiler.regression.GenericsRegressionTest.testBug508799 - 1.8 (from org.eclipse.jdt.core.tests.compiler.regression.TestAll)

Failing for the past 2 builds (Since Failed#117 )
Took 1.1 sec.

Error Message

testBug508799 - Javac found warning(s) but Eclipse did not find any.
----------- Expected ------------

------------ but was ------------
./test/B1.java:3: warning: [rawtypes] found raw type: Iterable\n
public interface B1 extends A<Iterable> {\n
                              ^\n
  missing type arguments for generic class Iterable<T>\n
  where T is a type-variable:\n
    T extends Object declared in interface Iterable\n
./test/A.java:3: warning: [rawtypes] found raw type: Iterable\n
public interface A<T extends Iterable> {\n
                             ^\n
  missing type arguments for generic class Iterable<T>\n
  where T is a type-variable:\n
    T extends Object declared in interface Iterable\n
./test/B2.java:3: warning: [rawtypes] found raw type: Iterable\n
public interface B2 extends A<Iterable> {\n
                              ^\n
  missing type arguments for generic class Iterable<T>\n
  where T is a type-variable:\n
    T extends Object declared in interface Iterable\n
3 warnings\n

--------- Difference is ----------
 expected:<[]> but was:<[./test/B1.java:3: warning: [rawtypes] found raw type: Iterable\n
public interface B1 extends A<Iterable> {\n
                              ^\n
  missing type arguments for generic class Iterable<T>\n
  where T is a type-variable:\n
    T extends Object declared in interface Iterable\n
./test/A.java:3: warning: [rawtypes] found raw type: Iterable\n
public interface A<T extends Iterable> {\n
                             ^\n
  missing type arguments for generic class Iterable<T>\n
  where T is a type-variable:\n
    T extends Object declared in interface Iterable\n
./test/B2.java:3: warning: [rawtypes] found raw type: Iterable\n
public interface B2 extends A<Iterable> {\n
                              ^\n
  missing type arguments for generic class Iterable<T>\n
  where T is a type-variable:\n
    T extends Object declared in interface Iterable\n
3 warnings\n
]>

Stacktrace

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

------------ but was ------------
./test/B1.java:3: warning: [rawtypes] found raw type: Iterable\n
public interface B1 extends A<Iterable> {\n
                              ^\n
  missing type arguments for generic class Iterable<T>\n
  where T is a type-variable:\n
    T extends Object declared in interface Iterable\n
./test/A.java:3: warning: [rawtypes] found raw type: Iterable\n
public interface A<T extends Iterable> {\n
                             ^\n
  missing type arguments for generic class Iterable<T>\n
  where T is a type-variable:\n
    T extends Object declared in interface Iterable\n
./test/B2.java:3: warning: [rawtypes] found raw type: Iterable\n
public interface B2 extends A<Iterable> {\n
                              ^\n
  missing type arguments for generic class Iterable<T>\n
  where T is a type-variable:\n
    T extends Object declared in interface Iterable\n
3 warnings\n

--------- Difference is ----------
 expected:<[]> but was:<[./test/B1.java:3: warning: [rawtypes] found raw type: Iterable\n
public interface B1 extends A<Iterable> {\n
                              ^\n
  missing type arguments for generic class Iterable<T>\n
  where T is a type-variable:\n
    T extends Object declared in interface Iterable\n
./test/A.java:3: warning: [rawtypes] found raw type: Iterable\n
public interface A<T extends Iterable> {\n
                             ^\n
  missing type arguments for generic class Iterable<T>\n
  where T is a type-variable:\n
    T extends Object declared in interface Iterable\n
./test/B2.java:3: warning: [rawtypes] found raw type: Iterable\n
public interface B2 extends A<Iterable> {\n
                              ^\n
  missing type arguments for generic class Iterable<T>\n
  where T is a type-variable:\n
    T extends Object declared in interface Iterable\n
3 warnings\n
]>
	at org.eclipse.jdt.core.tests.compiler.regression.GenericsRegressionTest.testBug508799(GenericsRegressionTest.java:6085)

Standard Output

org.eclipse.jdt.core.tests.compiler.regression.GenericsRegressionTest#testBug508799 - 1.8
test/C.java [
package test;

public class C implements B1, B2 {
    public void a() {
    }

    public void b1() {
    }

    public void b2() {
    }
}

]


Full results sent to /tmp/genie.jdt/comptest/run.1568433798825/1.8.0_162_20190914_000328.txt

Standard Error

--- javac err: ---
test/A.java:3: warning: [rawtypes] found raw type: Iterable
public interface A<T extends Iterable> {
                             ^
  missing type arguments for generic class Iterable<T>
  where T is a type-variable:
    T extends Object declared in interface Iterable
test/B1.java:3: warning: [rawtypes] found raw type: Iterable
public interface B1 extends A<Iterable> {
                              ^
  missing type arguments for generic class Iterable<T>
  where T is a type-variable:
    T extends Object declared in interface Iterable
test/B2.java:3: warning: [rawtypes] found raw type: Iterable
public interface B2 extends A<Iterable> {
                              ^
  missing type arguments for generic class Iterable<T>
  where T is a type-variable:
    T extends Object declared in interface Iterable
3 warnings

--- javac err: ---
./test/B1.java:3: warning: [rawtypes] found raw type: Iterable
public interface B1 extends A<Iterable> {
                              ^
  missing type arguments for generic class Iterable<T>
  where T is a type-variable:
    T extends Object declared in interface Iterable
./test/A.java:3: warning: [rawtypes] found raw type: Iterable
public interface A<T extends Iterable> {
                             ^
  missing type arguments for generic class Iterable<T>
  where T is a type-variable:
    T extends Object declared in interface Iterable
./test/B2.java:3: warning: [rawtypes] found raw type: Iterable
public interface B2 extends A<Iterable> {
                              ^
  missing type arguments for generic class Iterable<T>
  where T is a type-variable:
    T extends Object declared in interface Iterable
3 warnings

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