Failed
org.eclipse.jdt.core.tests.compiler.regression.AssignmentTest.test065 - 1.8 (from org.eclipse.jdt.core.tests.compiler.regression.TestAll)
Failing for the past 1 build
(Since Failed
)
Error Message
test065 - Eclipse found error(s) but Javac did not find any. ----------- Expected ------------ ------------ but was ------------ ----------\n 1. ERROR in X.java (at line 10)\n return foo && (foo = foo);\n ^^^^^^^^^^^\n The assignment to variable foo has no effect\n ----------\n --------- Difference is ---------- expected:<[]> but was:<[----------\n 1. ERROR in X.java (at line 10)\n return foo && (foo = foo);\n ^^^^^^^^^^^\n The assignment to variable foo has no effect\n ----------\n ]>
Stacktrace
junit.framework.ComparisonFailure: test065 - Eclipse found error(s) but Javac did not find any. ----------- Expected ------------ ------------ but was ------------ ----------\n 1. ERROR in X.java (at line 10)\n return foo && (foo = foo);\n ^^^^^^^^^^^\n The assignment to variable foo has no effect\n ----------\n --------- Difference is ---------- expected:<[]> but was:<[----------\n 1. ERROR in X.java (at line 10)\n return foo && (foo = foo);\n ^^^^^^^^^^^\n The assignment to variable foo has no effect\n ----------\n ]> at org.eclipse.jdt.core.tests.compiler.regression.AssignmentTest.test065(AssignmentTest.java:1893)
Standard Output
org.eclipse.jdt.core.tests.compiler.regression.AssignmentTest#test065 - 1.8 X.java [ public class X { protected boolean foo = false; public boolean test() { return foo || (foo = foo()); } public boolean test2() { return foo && (foo = foo()); } public boolean test3() { return foo && (foo = foo); } boolean foo() { return true; } } ] 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
----------------------------------------