Failed

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

Failing for the past 15 builds (Since #81 )
Took 2.4 sec.

Error Message

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

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

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

Stacktrace

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

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

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

Standard Output

org.eclipse.jdt.core.tests.compiler.regression.NullAnnotationTest#testBug530970_field_bin - 10
X.java [
import annotation.*;
@NonNullByDefault(DefaultLocation.FIELD)
public class X {
	Number field = new Double(1.1);
}

]


Full results sent to /tmp/genie.jdt/comptest/run.1565496180436/10.0.1_20190811_000308.txt

Standard Error

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

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