Regression

org.eclipse.jdt.core.tests.compiler.regression.SerialVersionUIDTests.test016 - 1.8 (from org.eclipse.jdt.core.tests.compiler.regression.TestAll)

Failing for the past 1 build (Since Failed#114 )
Took 0.58 sec.

Error Message

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

------------ but was ------------
----------\n
1. ERROR in X.java (at line 5)\n
 private int i;\n
             ^\n
The value of the field X.i is not used\n
----------\n

--------- Difference is ----------
 expected:<[]> but was:<[----------\n
1. ERROR in X.java (at line 5)\n
 private int i;\n
             ^\n
The value of the field X.i is not used\n
----------\n
]>

Stacktrace

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

------------ but was ------------
----------\n
1. ERROR in X.java (at line 5)\n
	private int i;\n
	            ^\n
The value of the field X.i is not used\n
----------\n

--------- Difference is ----------
 expected:<[]> but was:<[----------\n
1. ERROR in X.java (at line 5)\n
	private int i;\n
	            ^\n
The value of the field X.i is not used\n
----------\n
]>
	at org.eclipse.jdt.core.tests.compiler.regression.SerialVersionUIDTests.test016(SerialVersionUIDTests.java:336)

Standard Output

org.eclipse.jdt.core.tests.compiler.regression.SerialVersionUIDTests#test016 - 1.8
X.java [
import java.io.ObjectStreamField;
public class X implements java.io.Serializable {
	private static final long serialVersionUID = 1L;
	private final static ObjectStreamField[] serialPersistentFields = null;
	private int i;
}
]


Full results sent to /tmp/genie.jdt/comptest/run.1566619421654/1.8.0_162_20190824_000350.txt

Standard Error

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