Failed

org.eclipse.jdt.core.tests.compiler.regression.GenericTypeTest.test1045 - 1.8 (from org.eclipse.jdt.core.tests.compiler.regression.TestAll)

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

Error Message

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

------------ but was ------------
X.java:2: error: type argument ? extends S is not within bounds of type-variable S\n
        X<? extends Long,? extends S> x;\n
                         ^\n
  where S,T are type-variables:\n
    S extends T declared in class X\n
    T extends Number declared in class X\n
1 error\n

--------- Difference is ----------
 expected:<[]> but was:<[X.java:2: error: type argument ? extends S is not within bounds of type-variable S\n
        X<? extends Long,? extends S> x;\n
                         ^\n
  where S,T are type-variables:\n
    S extends T declared in class X\n
    T extends Number declared in class X\n
1 error\n
]>

Stacktrace

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

------------ but was ------------
X.java:2: error: type argument ? extends S is not within bounds of type-variable S\n
        X<? extends Long,? extends S> x;\n
                         ^\n
  where S,T are type-variables:\n
    S extends T declared in class X\n
    T extends Number declared in class X\n
1 error\n

--------- Difference is ----------
 expected:<[]> but was:<[X.java:2: error: type argument ? extends S is not within bounds of type-variable S\n
        X<? extends Long,? extends S> x;\n
                         ^\n
  where S,T are type-variables:\n
    S extends T declared in class X\n
    T extends Number declared in class X\n
1 error\n
]>
	at org.eclipse.jdt.core.tests.compiler.regression.GenericTypeTest.test1045(GenericTypeTest.java:35610)

Standard Output

org.eclipse.jdt.core.tests.compiler.regression.GenericTypeTest#test1045 - 1.8
X.java [
class X<T extends Number, S extends T> {
        X<? extends Long,? extends S> x;
}
]


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

Standard Error

--- javac err: ---
X.java:2: error: type argument ? extends S is not within bounds of type-variable S
        X<? extends Long,? extends S> x;
                         ^
  where S,T are type-variables:
    S extends T declared in class X
    T extends Number declared in class X
1 error

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