View | Details | Raw Unified | Return to bug 82432
Collapse All | Expand All

(-)src/org/eclipse/jdt/core/tests/compiler/regression/AutoBoxingTest.java (-1 / +18 lines)
Lines 1874-1880 Link Here
1874
				"}\n",
1874
				"}\n",
1875
			},
1875
			},
1876
			"SUCCESS");
1876
			"SUCCESS");
1877
	}	
1877
	}
1878
	
1878
	
1879
	public void test071() { // assert
1879
	public void test071() { // assert
1880
		this.runConformTest(
1880
		this.runConformTest(
Lines 1939-1943 Link Here
1939
			"----------\n"
1939
			"----------\n"
1940
			// a is ambiguous, both method a(int,int) in X and method a(java.lang.Object,java.lang.Object) in X match
1940
			// a is ambiguous, both method a(int,int) in X and method a(java.lang.Object,java.lang.Object) in X match
1941
		);
1941
		);
1942
	}
1943
	
1944
	// https://bugs.eclipse.org/bugs/show_bug.cgi?id=82432
1945
	public void test074() { // assert
1946
		this.runConformTest(
1947
			new String[] {
1948
				"X.java",
1949
				"public class X {\n" +
1950
				" Object e() {\n" +
1951
				"  return \"\".compareTo(\"\") > 0;\n" +
1952
				" }\n" +
1953
				" public static void main(String[] args) {\n" +
1954
				"  System.out.print(new X().e());\n" +
1955
				" }\n" +
1956
				"}",
1957
			},
1958
			"false");
1942
	}
1959
	}
1943
}
1960
}

Return to bug 82432