Failed

org.eclipse.jdt.core.tests.compiler.regression.NullTypeAnnotationTest.testDefault04_bin - 10 (from org.eclipse.jdt.core.tests.compiler.regression.TestAll)

Failing for the past 4 builds (Since Failed#111 )
Took 2.1 sec.

Error Message

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

------------ but was ------------
----------\n
1. ERROR in Y.java (at line 3)\n
 x.field = null; // ERR\n
           ^^^^\n
Null type mismatch: required '@NonNull Number' but the provided value is null\n
----------\n

--------- Difference is ----------
 expected:<[]> but was:<[----------\n
1. ERROR in Y.java (at line 3)\n
 x.field = null; // ERR\n
           ^^^^\n
Null type mismatch: required '@NonNull Number' but the provided value is null\n
----------\n
]>

Stacktrace

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

------------ but was ------------
----------\n
1. ERROR in Y.java (at line 3)\n
	x.field = null; // ERR\n
	          ^^^^\n
Null type mismatch: required '@NonNull Number' but the provided value is null\n
----------\n

--------- Difference is ----------
 expected:<[]> but was:<[----------\n
1. ERROR in Y.java (at line 3)\n
	x.field = null; // ERR\n
	          ^^^^\n
Null type mismatch: required '@NonNull Number' but the provided value is null\n
----------\n
]>
	at org.eclipse.jdt.core.tests.compiler.regression.NullTypeAnnotationTest.testDefault04_bin(NullTypeAnnotationTest.java:5292)

Standard Output

org.eclipse.jdt.core.tests.compiler.regression.NullTypeAnnotationTest#testDefault04_bin - 10
Y.java [
public class Y {
	void test(X x) {
		x.field = null; // ERR
	}
}

]


Full results sent to /tmp/comptest/run.1573967040170/10.0.2_20191117_050427.txt

Standard Error

--- javac err: ---
Note: X.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

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