| Summary: | [test]testDuplicateImports3 failure | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Manoj N Palat <manoj.palat> |
| Component: | Core | Assignee: | JDT-Core-Inbox <jdt-core-inbox> |
| Status: | CLOSED DUPLICATE | QA Contact: | Manoj N Palat <manoj.palat> |
| Severity: | normal | ||
| Priority: | P3 | CC: | stephan.herrmann |
| Version: | 4.7.3 | ||
| Target Milestone: | 4.7.3a | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
Interesting. It looks like the result I got in master. Investigating that difference is the reason for keeping that bug open (I don't have the bugno at hand). Found the reason, see bug 528350. *** This bug has been marked as a duplicate of bug 528350 *** |
test failed on the server with the following log for 4.7.3a RC1 Invalid problem log . ----------- Expected ------------ ----------\n 1. ERROR in Test.java (at line 5)\n Double d = null;\n ^^^^^^\n The type Double is ambiguous\n ----------\n ------------ but was ------------ ----------\n 1. ERROR in Test.java (at line 2)\n import static java.awt.geom.Point2D.Double;\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n The import java.awt.geom.Point2D.Double collides with another import statement\n ----------\n --------- Difference is ---------- expected:<... Test.java (at line [5)\n Double d = null;\n ^^^^^^\n The type Double is ambiguous]\n ----------\n > but was:<... Test.java (at line [2)\n import static java.awt.geom.Point2D.Double;\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n The import java.awt.geom.Point2D.Double collides with another import statement]\n ----------\n > junit.framework.ComparisonFailure: Invalid problem log . ----------- Expected ------------ ----------\n 1. ERROR in Test.java (at line 5)\n Double d = null;\n ^^^^^^\n The type Double is ambiguous\n ----------\n ------------ but was ------------ ----------\n 1. ERROR in Test.java (at line 2)\n import static java.awt.geom.Point2D.Double;\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n The import java.awt.geom.Point2D.Double collides with another import statement\n ----------\n --------- Difference is ---------- expected:<... Test.java (at line [5)\n Double d = null;\n ^^^^^^\n The type Double is ambiguous]\n ----------\n > but was:<... Test.java (at line [2)\n import static java.awt.geom.Point2D.Double;\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n The import java.awt.geom.Point2D.Double collides with another import statement]\n ----------\n > at org.eclipse.jdt.core.tests.junit.extension.TestCase.assertStringEquals(TestCase.java:267) at org.eclipse.jdt.core.tests.junit.extension.TestCase.assertEquals(TestCase.java:243) at org.eclipse.jdt.core.tests.compiler.regression.AbstractRegressionTest.checkCompilerLog(AbstractRegressionTest.java:1107) at org.eclipse.jdt.core.tests.compiler.regression.AbstractRegressionTest.runTest(AbstractRegressionTest.java:2827) at org.eclipse.jdt.core.tests.compiler.regression.AbstractRegressionTest.runTest(AbstractRegressionTest.java:2625) at org.eclipse.jdt.core.tests.compiler.regression.AbstractRegressionTest.runNegativeTest(AbstractRegressionTest.java:2199) at org.eclipse.jdt.core.tests.compiler.regression.AbstractRegressionTest.runNegativeTest(AbstractRegressionTest.java:2188) at org.eclipse.jdt.core.tests.compiler.regression.NonFatalErrorTest.testDuplicateImports3(NonFatalErrorTest.java:559 Test passes locally. To track the test for the next few builds