Failed

org.eclipse.jdt.core.tests.compiler.regression.NullAnnotationTest.testBug530970_default_bin - 10 (from org.eclipse.jdt.core.tests.compiler.regression.TestAll)

Failing for the past 8 builds (Since Failed#111 )
Took 2.4 sec.

Error Message

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

------------ but was ------------
X.java:4: warning: [deprecation] Long(long) in Long has been deprecated\n
 Number field = new Long(13);\n
                ^\n
1 warning\n

--------- Difference is ----------
 expected:<[]> but was:<[X.java:4: warning: [deprecation] Long(long) in Long has been deprecated\n
 Number field = new Long(13);\n
                ^\n
1 warning\n
]>

Stacktrace

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

------------ but was ------------
X.java:4: warning: [deprecation] Long(long) in Long has been deprecated\n
	Number field = new Long(13);\n
	               ^\n
1 warning\n

--------- Difference is ----------
 expected:<[]> but was:<[X.java:4: warning: [deprecation] Long(long) in Long has been deprecated\n
	Number field = new Long(13);\n
	               ^\n
1 warning\n
]>
	at org.eclipse.jdt.core.tests.compiler.regression.NullAnnotationTest.testBug530970_default_bin(NullAnnotationTest.java:9696)

Standard Output

org.eclipse.jdt.core.tests.compiler.regression.NullAnnotationTest#testBug530970_default_bin - 10
X.java [
import annotation.*;
@NonNullByDefault
public class X {
	Number field = new Long(13);
	void test1(Number[] ns) {
		ns[0] = null; // OK since not affected by default
	}
}

]


Full results sent to /tmp/comptest/run.1576386281107/10.0.2_20191215_050519.txt

Standard Error

--- javac err: ---
X.java:4: warning: [deprecation] Long(long) in Long has been deprecated
	Number field = new Long(13);
	               ^
1 warning

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