Failed

org.eclipse.jdt.core.tests.compiler.regression.NullTypeAnnotationTest.testBinary05 - 1.8 (from org.eclipse.jdt.core.tests.compiler.regression.TestAll)

Failing for the past 4 builds (Since #6 )
Took 0.74 sec.

Error Message

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

------------ but was ------------
p/X1.java:4: warning: [serial] serializable class X1 has no definition of serialVersionUID\n
public abstract class X1<@NonNull T> extends ArrayList<T> {\n
                ^\n
1 warning\n

--------- Difference is ----------
 expected:<[]> but was:<[p/X1.java:4: warning: [serial] serializable class X1 has no definition of serialVersionUID\n
public abstract class X1<@NonNull T> extends ArrayList<T> {\n
                ^\n
1 warning\n
]>

Stacktrace

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

------------ but was ------------
p/X1.java:4: warning: [serial] serializable class X1 has no definition of serialVersionUID\n
public abstract class X1<@NonNull T> extends ArrayList<T> {\n
                ^\n
1 warning\n

--------- Difference is ----------
 expected:<[]> but was:<[p/X1.java:4: warning: [serial] serializable class X1 has no definition of serialVersionUID\n
public abstract class X1<@NonNull T> extends ArrayList<T> {\n
                ^\n
1 warning\n
]>
	at org.eclipse.jdt.core.tests.junit.extension.TestCase.assertStringEquals(TestCase.java:260)
	at org.eclipse.jdt.core.tests.junit.extension.TestCase.assertEquals(TestCase.java:236)
	at org.eclipse.jdt.core.tests.compiler.regression.AbstractRegressionTest.runJavac(AbstractRegressionTest.java:2064)
	at org.eclipse.jdt.core.tests.compiler.regression.AbstractRegressionTest.runTest(AbstractRegressionTest.java:2814)
	at org.eclipse.jdt.core.tests.compiler.regression.AbstractRegressionTest.runTest(AbstractRegressionTest.java:2539)
	at org.eclipse.jdt.core.tests.compiler.regression.AbstractRegressionTest.runConformTest(AbstractRegressionTest.java:3028)
	at org.eclipse.jdt.core.tests.compiler.regression.AbstractNullAnnotationTest.runConformTestWithLibs(AbstractNullAnnotationTest.java:183)
	at org.eclipse.jdt.core.tests.compiler.regression.AbstractNullAnnotationTest.runConformTestWithLibs(AbstractNullAnnotationTest.java:165)
	at org.eclipse.jdt.core.tests.compiler.regression.NullTypeAnnotationTest.testBinary05(NullTypeAnnotationTest.java:1141)

Standard Output

org.eclipse.jdt.core.tests.compiler.regression.NullTypeAnnotationTest#testBinary05 - 1.8
p/X1.java [
package p;
import java.util.ArrayList;
import org.eclipse.jdt.annotation.*;
public abstract class X1<@NonNull T> extends ArrayList<T> {
    public <@Nullable S> void foo(S s) {}
}

]


Full results sent to /tmp/comptest/run.1514610271420/1.8.0_131_20171230_000432.txt

Standard Error

--- javac err: ---
p/X1.java:4: warning: [serial] serializable class X1 has no definition of serialVersionUID
public abstract class X1<@NonNull T> extends ArrayList<T> {
                ^
1 warning

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