Skip to content

Failed

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

Failing for the past 1 build (Since #168 )
Took 0.63 sec.

Error Message

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

------------ but was ------------
----------\n
1. ERROR in X.java (at line 2)\n
 private static final long serialVersionUID = 1L;\n
                           ^^^^^^^^^^^^^^^^\n
The value of the field X<T>.serialVersionUID is not used\n
----------\n

--------- Difference is ----------
 expected:<[]> but was:<[----------\n
1. ERROR in X.java (at line 2)\n
 private static final long serialVersionUID = 1L;\n
                           ^^^^^^^^^^^^^^^^\n
The value of the field X<T>.serialVersionUID is not used\n
----------\n
]>

Stacktrace

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

------------ but was ------------
----------\n
1. ERROR in X.java (at line 2)\n
	private static final long serialVersionUID = 1L;\n
	                          ^^^^^^^^^^^^^^^^\n
The value of the field X<T>.serialVersionUID is not used\n
----------\n

--------- Difference is ----------
 expected:<[]> but was:<[----------\n
1. ERROR in X.java (at line 2)\n
	private static final long serialVersionUID = 1L;\n
	                          ^^^^^^^^^^^^^^^^\n
The value of the field X<T>.serialVersionUID is not used\n
----------\n
]>
	at org.eclipse.jdt.core.tests.compiler.regression.SerialVersionUIDTests.test012(SerialVersionUIDTests.java:243)

Standard Output

org.eclipse.jdt.core.tests.compiler.regression.SerialVersionUIDTests#test012 - 1.8
X.java [
public class X<T> {
	private static final long serialVersionUID = 1L;
}
]


Full results sent to /home/jenkins/agent/workspace/eclipse.jdt.core-run.javac-1.8/tmp/comptest/run.1584479137560/1.8.0_202_20200317_210541.txt

Standard Error

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