Failed
org.eclipse.jdt.core.tests.compiler.regression.ProgrammingProblemsTest.test0063 - 1.8 (from org.eclipse.jdt.core.tests.compiler.regression.TestAll)
Failing for the past 1 build
(Since Failed
)
Error Message
test0063 - Eclipse found error(s) but Javac did not find any. ----------- Expected ------------ ------------ but was ------------ ----------\n 1. ERROR in org\eclipse\jdt\core\dom\X.java (at line 9)\n if (t1 == t2) { \n ^^^^^^^^\n The uninterned types TypeBinding and TypeBinding should not be compared using ==/!= operators.\n ----------\n 2. ERROR in org\eclipse\jdt\core\dom\X.java (at line 11)\n if (t1 == t2) {\n ^^^^^^^^\n The uninterned types TypeBinding and TypeBinding should not be compared using ==/!= operators.\n ----------\n 3. ERROR in org\eclipse\jdt\core\dom\X.java (at line 18)\n if (t1 == t2) { \n ^^^^^^^^\n The uninterned types TypeBinding and TypeBinding should not be compared using ==/!= operators.\n ----------\n 4. ERROR in org\eclipse\jdt\core\dom\X.java (at line 20)\n if (t1 == t2) {\n ^^^^^^^^\n The uninterned types TypeBinding and TypeBinding should not be compared using ==/!= operators.\n ----------\n 5. ERROR in org\eclipse\jdt\core\dom\X.java (at line 30)\n if (t1 == t2) { \n ^^^^^^^^\n The uninterned types TypeBinding and TypeBinding should not be compared using ==/!= operators.\n ----------\n --------- Difference is ---------- expected:<[]> but was:<[----------\n 1. ERROR in org\eclipse\jdt\core\dom\X.java (at line 9)\n if (t1 == t2) { \n ^^^^^^^^\n The uninterned types TypeBinding and TypeBinding should not be compared using ==/!= operators.\n ----------\n 2. ERROR in org\eclipse\jdt\core\dom\X.java (at line 11)\n if (t1 == t2) {\n ^^^^^^^^\n The uninterned types TypeBinding and TypeBinding should not be compared using ==/!= operators.\n ----------\n 3. ERROR in org\eclipse\jdt\core\dom\X.java (at line 18)\n if (t1 == t2) { \n ^^^^^^^^\n The uninterned types TypeBinding and TypeBinding should not be compared using ==/!= operators.\n ----------\n 4. ERROR in org\eclipse\jdt\core\dom\X.java (at line 20)\n if (t1 == t2) {\n ^^^^^^^^\n The uninterned types TypeBinding and TypeBinding should not be compared using ==/!= operators.\n ----------\n 5. ERROR in org\eclipse\jdt\core\dom\X.java (at line 30)\n if (t1 == t2) { \n ^^^^^^^^\n The uninterned types TypeBinding and TypeBinding should not be compared using ==/!= operators.\n ----------\n ]>
Stacktrace
junit.framework.ComparisonFailure: test0063 - Eclipse found error(s) but Javac did not find any. ----------- Expected ------------ ------------ but was ------------ ----------\n 1. ERROR in org\eclipse\jdt\core\dom\X.java (at line 9)\n if (t1 == t2) { \n ^^^^^^^^\n The uninterned types TypeBinding and TypeBinding should not be compared using ==/!= operators.\n ----------\n 2. ERROR in org\eclipse\jdt\core\dom\X.java (at line 11)\n if (t1 == t2) {\n ^^^^^^^^\n The uninterned types TypeBinding and TypeBinding should not be compared using ==/!= operators.\n ----------\n 3. ERROR in org\eclipse\jdt\core\dom\X.java (at line 18)\n if (t1 == t2) { \n ^^^^^^^^\n The uninterned types TypeBinding and TypeBinding should not be compared using ==/!= operators.\n ----------\n 4. ERROR in org\eclipse\jdt\core\dom\X.java (at line 20)\n if (t1 == t2) {\n ^^^^^^^^\n The uninterned types TypeBinding and TypeBinding should not be compared using ==/!= operators.\n ----------\n 5. ERROR in org\eclipse\jdt\core\dom\X.java (at line 30)\n if (t1 == t2) { \n ^^^^^^^^\n The uninterned types TypeBinding and TypeBinding should not be compared using ==/!= operators.\n ----------\n --------- Difference is ---------- expected:<[]> but was:<[----------\n 1. ERROR in org\eclipse\jdt\core\dom\X.java (at line 9)\n if (t1 == t2) { \n ^^^^^^^^\n The uninterned types TypeBinding and TypeBinding should not be compared using ==/!= operators.\n ----------\n 2. ERROR in org\eclipse\jdt\core\dom\X.java (at line 11)\n if (t1 == t2) {\n ^^^^^^^^\n The uninterned types TypeBinding and TypeBinding should not be compared using ==/!= operators.\n ----------\n 3. ERROR in org\eclipse\jdt\core\dom\X.java (at line 18)\n if (t1 == t2) { \n ^^^^^^^^\n The uninterned types TypeBinding and TypeBinding should not be compared using ==/!= operators.\n ----------\n 4. ERROR in org\eclipse\jdt\core\dom\X.java (at line 20)\n if (t1 == t2) {\n ^^^^^^^^\n The uninterned types TypeBinding and TypeBinding should not be compared using ==/!= operators.\n ----------\n 5. ERROR in org\eclipse\jdt\core\dom\X.java (at line 30)\n if (t1 == t2) { \n ^^^^^^^^\n The uninterned types TypeBinding and TypeBinding should not be compared using ==/!= operators.\n ----------\n ]> at org.eclipse.jdt.core.tests.compiler.regression.ProgrammingProblemsTest.test0063(ProgrammingProblemsTest.java:2630)
Standard Output
org.eclipse.jdt.core.tests.compiler.regression.ProgrammingProblemsTest#test0063 - 1.8 org/eclipse/jdt/core/dom/X.java [ package org.eclipse.jdt.core.dom; interface ITypeBinding { } class TypeBinding implements ITypeBinding { } public class X { public static void main(String[] args) { TypeBinding t1 = null, t2 = null; if (t1 == t2) { if (t2 == t1) { //$IDENTITY-COMPARISON$ if (t1 == t2) { } } } } public static void gain(String[] args) { TypeBinding t1 = null, t2 = null; if (t1 == t2) { if (t2 == t1) { //$IDENTITY-COMPARISON$ if (t1 == t2) { } } } } public static void vain(String[] args) { TypeBinding t1 = null, t2 = null; //$IDENTITY-COMPARISON$ //$IDENTITY-COMPARISON$ //$IDENTITY-COMPARISON$ if (t1 == t2) { if (t2 == t1) { //$IDENTITY-COMPARISON$ if (t1 == t2) { //$IDENTITY-COMPARISON$ } } } } public static void cain(String[] args) { TypeBinding t1 = null, t2 = null; if (t1 == t2) { //$IDENTITY-COMPARISON$ if (t2 == t1) { //$IDENTITY-COMPARISON$ if (t1 == t2) { //$IDENTITY-COMPARISON$ } } } } } ] 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
----------------------------------------