Failed

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

Failing for the past 14 builds (Since #81 )
Took 2.2 sec.

Error Message

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

------------ but was ------------
X.java:5: warning: [deprecation] Integer(int) in Integer has been deprecated\n
  return new Integer(13);\n
         ^\n
1 warning\n

--------- Difference is ----------
 expected:<[]> but was:<[X.java:5: warning: [deprecation] Integer(int) in Integer has been deprecated\n
  return new Integer(13);\n
         ^\n
1 warning\n
]>

Stacktrace

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

------------ but was ------------
X.java:5: warning: [deprecation] Integer(int) in Integer has been deprecated\n
		return new Integer(13);\n
		       ^\n
1 warning\n

--------- Difference is ----------
 expected:<[]> but was:<[X.java:5: warning: [deprecation] Integer(int) in Integer has been deprecated\n
		return new Integer(13);\n
		       ^\n
1 warning\n
]>
	at org.eclipse.jdt.core.tests.compiler.regression.NullAnnotationTest.testBug530970_return_bin(NullAnnotationTest.java:9553)

Standard Output

org.eclipse.jdt.core.tests.compiler.regression.NullAnnotationTest#testBug530970_return_bin - 10
X.java [
import annotation.*;
public class X {
	@NonNullByDefault(DefaultLocation.RETURN_TYPE)
	Number test(Number in) {
		return new Integer(13);
	}
}

]


Full results sent to /tmp/genie.jdt/comptest/run.1564891391937/10.0.1_20190804_000320.txt

Standard Error

--- javac err: ---
X.java:5: warning: [deprecation] Integer(int) in Integer has been deprecated
		return new Integer(13);
		       ^
1 warning

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