Index: src/org/eclipse/jdt/core/tests/compiler/regression/AutoBoxingTest.java =================================================================== RCS file: /home/eclipse/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/AutoBoxingTest.java,v retrieving revision 1.48 diff -u -r1.48 AutoBoxingTest.java --- src/org/eclipse/jdt/core/tests/compiler/regression/AutoBoxingTest.java 6 Jan 2005 21:31:26 -0000 1.48 +++ src/org/eclipse/jdt/core/tests/compiler/regression/AutoBoxingTest.java 9 Jan 2005 20:14:43 -0000 @@ -1874,7 +1874,7 @@ "}\n", }, "SUCCESS"); - } + } public void test071() { // assert this.runConformTest( @@ -1939,5 +1939,22 @@ "----------\n" // a is ambiguous, both method a(int,int) in X and method a(java.lang.Object,java.lang.Object) in X match ); + } + + // https://bugs.eclipse.org/bugs/show_bug.cgi?id=82432 + public void test074() { // assert + this.runConformTest( + new String[] { + "X.java", + "public class X {\n" + + " Object e() {\n" + + " return \"\".compareTo(\"\") > 0;\n" + + " }\n" + + " public static void main(String[] args) {\n" + + " System.out.print(new X().e());\n" + + " }\n" + + "}", + }, + "false"); } }