Skip to content

Failed

org.eclipse.jdt.core.tests.compiler.regression.ArrayTest.test014 - 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

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

------------ but was ------------
----------\n
1. ERROR in X.java (at line 3)\n
 long[] other = longs.clone();\n
                ^^^^^^^^^^^^^\n
Type mismatch: cannot convert from Object to long[]\n
----------\n

--------- Difference is ----------
 expected:<[]> but was:<[----------\n
1. ERROR in X.java (at line 3)\n
 long[] other = longs.clone();\n
                ^^^^^^^^^^^^^\n
Type mismatch: cannot convert from Object to long[]\n
----------\n
]>

Stacktrace

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

------------ but was ------------
----------\n
1. ERROR in X.java (at line 3)\n
	long[] other = longs.clone();\n
	               ^^^^^^^^^^^^^\n
Type mismatch: cannot convert from Object to long[]\n
----------\n

--------- Difference is ----------
 expected:<[]> but was:<[----------\n
1. ERROR in X.java (at line 3)\n
	long[] other = longs.clone();\n
	               ^^^^^^^^^^^^^\n
Type mismatch: cannot convert from Object to long[]\n
----------\n
]>
	at org.eclipse.jdt.core.tests.compiler.regression.ArrayTest.test014(ArrayTest.java:415)

Standard Output

org.eclipse.jdt.core.tests.compiler.regression.ArrayTest#test014 - 1.8
X.java [
public class X {
	void foo(long[] longs) throws Exception {
		long[] other = longs.clone();
	}
}

]


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

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