Failed

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

Failing for the past 4 builds (Since Failed#130 )
Took 1.5 sec.

Error Message

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

------------ but was ------------
----------\n
1. ERROR in test\X.java (at line 3)\n
 Number field; // ERR since uninitialized\n
        ^^^^^\n
The @NonNull field field may not have been initialized\n
----------\n

--------- Difference is ----------
 expected:<[]> but was:<[----------\n
1. ERROR in test\X.java (at line 3)\n
 Number field; // ERR since uninitialized\n
        ^^^^^\n
The @NonNull field field may not have been initialized\n
----------\n
]>

Stacktrace

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

------------ but was ------------
----------\n
1. ERROR in test\X.java (at line 3)\n
	Number field; // ERR since uninitialized\n
	       ^^^^^\n
The @NonNull field field may not have been initialized\n
----------\n

--------- Difference is ----------
 expected:<[]> but was:<[----------\n
1. ERROR in test\X.java (at line 3)\n
	Number field; // ERR since uninitialized\n
	       ^^^^^\n
The @NonNull field field may not have been initialized\n
----------\n
]>
	at org.eclipse.jdt.core.tests.compiler.regression.NullTypeAnnotationTest.testDefault05_custom2(NullTypeAnnotationTest.java:5016)

Standard Output

org.eclipse.jdt.core.tests.compiler.regression.NullTypeAnnotationTest#testDefault05_custom2 - 1.8
test/package-info.java [
@org.foo.NonNullByDefault
package test;

]
test/X.java [
package test;
public class X {
	Number field; // ERR since uninitialized
	void test1(Number[] ns) {
		ns[0] = null; // OK since not affected by default
	}
	void test2(java.lang.Number[] ns) {
		ns[0] = null; // OK since not affected by default
	}
}

]


Full results sent to /tmp/comptest/run.1575090299186/1.8.0_202_20191130_050502.txt

Standard Error

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