Failed

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

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

Error Message

testBinary06b - 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<T extends java.lang.@NonNull Object> 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<T extends java.lang.@NonNull Object> extends ArrayList<T> {\n
                ^\n
1 warning\n
]>

Stacktrace

junit.framework.ComparisonFailure: testBinary06b - 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<T extends java.lang.@NonNull Object> 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<T extends java.lang.@NonNull Object> 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.testBinary06b(NullTypeAnnotationTest.java:1279)

Standard Output

org.eclipse.jdt.core.tests.compiler.regression.NullTypeAnnotationTest#testBinary06b - 1.8
p/X1.java [
package p;
import java.util.ArrayList;
import org.eclipse.jdt.annotation.*;
public abstract class X1<T extends java.lang.@NonNull Object> extends ArrayList<T> {
    public <U, V extends java.lang.@Nullable Object> void foo(U u, V v) {}
}

]
p/X2.java [
package p;
import org.eclipse.jdt.annotation.*;
public class X2<@Nullable W extends Object> {}

]


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<T extends java.lang.@NonNull Object> extends ArrayList<T> {
                ^
1 warning

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

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