Failed

org.eclipse.jdt.core.tests.compiler.regression.NullAnnotationTest.test_nullable_field_17 - 1.8 (from org.eclipse.jdt.core.tests.compiler.regression.TestAll)

Failing for the past 6 builds (Since Failed#130 )
Took 0.3 sec.

Error Message

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

------------ but was ------------
----------\n
1. INFO in X.java (at line 5)\n
 return this.o.toString();\n
             ^\n
Potential null pointer access: this expression has a '@Nullable' type\n
----------\n

--------- Difference is ----------
 expected:<[]> but was:<[----------\n
1. INFO in X.java (at line 5)\n
 return this.o.toString();\n
             ^\n
Potential null pointer access: this expression has a '@Nullable' type\n
----------\n
]>

Stacktrace

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

------------ but was ------------
----------\n
1. INFO in X.java (at line 5)\n
	return this.o.toString();\n
	            ^\n
Potential null pointer access: this expression has a '@Nullable' type\n
----------\n

--------- Difference is ----------
 expected:<[]> but was:<[----------\n
1. INFO in X.java (at line 5)\n
	return this.o.toString();\n
	            ^\n
Potential null pointer access: this expression has a '@Nullable' type\n
----------\n
]>
	at org.eclipse.jdt.core.tests.compiler.regression.NullAnnotationTest.test_nullable_field_17(NullAnnotationTest.java:5451)

Standard Output

org.eclipse.jdt.core.tests.compiler.regression.NullAnnotationTest#test_nullable_field_17 - 1.8
X.java [
import org.eclipse.jdt.annotation.*;
public class X {
    @Nullable Object o = new Object();
    public String oString() {
         return this.o.toString();
    }
}

]


Full results sent to /tmp/comptest/run.1576299801366/1.8.0_202_20191214_050322.txt

Standard Error

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