Skip to content

Failed

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

Failing for the past 1 build (Since #132 )
Took 1 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 - 10
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/comptest/run.1584245034298/10.0.2_20200315_040443.txt

Standard Error

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