Community
Participate
Working Groups
The tests are failing with the following errors respectively: Unexpected error output for invocation with arguments ["/tmp/comptest/run.1282699548719/regression/X.java" -1.5 -g -preserveAllLocals -proceedOnError -referenceInfo ]. ----------- Expected ------------ no classpath defined, using default directory instead\n ----------\n 1. ERROR in ---OUTPUT_DIR_PLACEHOLDER---/X.java (at line 1)\n import p.Y.I;\n ^^^\n The import p.Y cannot be resolved\n ----------\n 2. ERROR in ---OUTPUT_DIR_PLACEHOLDER---/X.java (at line 3)\n I i;\n ^\n I cannot be resolved to a type\n ----------\n 2 problems (2 errors) ------------ but was ------------ no classpath defined, using default directory instead\n ----------\n 1. ERROR in /tmp/comptest/run.1282699548719/regression/X.java (at line 1)\n import p.Y.I;\n ^\n The import p cannot be resolved\n ----------\n 2. ERROR in /tmp/comptest/run.1282699548719/regression/X.java (at line 3)\n I i;\n ^\n I cannot be resolved to a type\n ----------\n 2 problems (2 errors) --------- Difference is ---------- expected:<...-----\n 1. ERROR in [---OUTPUT_DIR_PLACEHOLDER---/X.java (at line 1)\n import p.Y.I;\n ^^^\n The import p.Y cannot be resolved\n ----------\n 2. ERROR in ---OUTPUT_DIR_PLACEHOLDER---]/X.java (at line 3)\...> but was:<...-----\n 1. ERROR in [/tmp/comptest/run.1282699548719/regression/X.java (at line 1)\n import p.Y.I;\n ^\n The import p cannot be resolved\n ----------\n 2. ERROR in /tmp/comptest/run.1282699548719/regression]/X.java (at line 3)\...> junit.framework.ComparisonFailure: Unexpected error output for invocation with arguments ["/tmp/comptest/run.1282699548719/regression/X.java" -1.5 -g -preserveAllLocals -proceedOnError -referenceInfo ]. ----------- Expected ------------ no classpath defined, using default directory instead\n ----------\n 1. ERROR in ---OUTPUT_DIR_PLACEHOLDER---/X.java (at line 1)\n import p.Y.I;\n ^^^\n The import p.Y cannot be resolved\n ----------\n 2. ERROR in ---OUTPUT_DIR_PLACEHOLDER---/X.java (at line 3)\n I i;\n ^\n I cannot be resolved to a type\n ----------\n 2 problems (2 errors) ------------ but was ------------ no classpath defined, using default directory instead\n ----------\n 1. ERROR in /tmp/comptest/run.1282699548719/regression/X.java (at line 1)\n import p.Y.I;\n ^\n The import p cannot be resolved\n ----------\n 2. ERROR in /tmp/comptest/run.1282699548719/regression/X.java (at line 3)\n I i;\n ^\n I cannot be resolved to a type\n ----------\n 2 problems (2 errors) --------- Difference is ---------- expected:<...-----\n 1. ERROR in [---OUTPUT_DIR_PLACEHOLDER---/X.java (at line 1)\n import p.Y.I;\n ^^^\n The import p.Y cannot be resolved\n ----------\n 2. ERROR in ---OUTPUT_DIR_PLACEHOLDER---]/X.java (at line 3)\...> but was:<...-----\n 1. ERROR in [/tmp/comptest/run.1282699548719/regression/X.java (at line 1)\n import p.Y.I;\n ^\n The import p cannot be resolved\n ----------\n 2. ERROR in /tmp/comptest/run.1282699548719/regression]/X.java (at line 3)\...> at org.eclipse.jdt.core.tests.junit.extension.TestCase.assertStringEquals(TestCase.java:230) at org.eclipse.jdt.core.tests.junit.extension.TestCase.assertEquals(TestCase.java:206) at org.eclipse.jdt.core.tests.compiler.regression.BatchCompilerTest.runTest(BatchCompilerTest.java:596) at org.eclipse.jdt.core.tests.compiler.regression.BatchCompilerTest.runNegativeTest(BatchCompilerTest.java:424) at org.eclipse.jdt.core.tests.compiler.regression.BatchCompilerTest.test0307a(BatchCompilerTest.java:11481) at org.eclipse.jdt.core.tests.util.CompilerTestSetup.run(CompilerTestSetup.java:55) at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:376) at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:209) at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java:35) at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31) at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:587) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:198) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:621) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:576) at org.eclipse.equinox.launcher.Main.run(Main.java:1409) at org.eclipse.equinox.launcher.Main.main(Main.java:1385) at org.eclipse.core.launcher.Main.main(Main.java:34) ---- Unexpected problems [out: ][err: File /tmp/comptest/run.1282699548719/regression/P/Y.java is missing ] junit.framework.AssertionFailedError: Unexpected problems [out: ][err: File /tmp/comptest/run.1282699548719/regression/P/Y.java is missing ] at org.eclipse.jdt.core.tests.compiler.regression.BatchCompilerTest.runTest(BatchCompilerTest.java:583) at org.eclipse.jdt.core.tests.compiler.regression.BatchCompilerTest.runConformTest(BatchCompilerTest.java:396) at org.eclipse.jdt.core.tests.compiler.regression.BatchCompilerTest.test0307e(BatchCompilerTest.java:11713) at org.eclipse.jdt.core.tests.util.CompilerTestSetup.run(CompilerTestSetup.java:55) at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:376) at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:209) at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java:35) at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31) at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:587) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:198) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:621) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:576) at org.eclipse.equinox.launcher.Main.run(Main.java:1409) at org.eclipse.equinox.launcher.Main.main(Main.java:1385) at org.eclipse.core.launcher.Main.main(Main.java:34)
These tests were to be run only under Windows as they test the behavior of the batch compiler when the underlying OS has a case insensitive file system. I'll post a patch shortly that fixes the tests,
Created attachment 177407 [details] Proposed patch
Released in HEAD for 3.7 M2.
Resolved.
Verified for 3.7M2 using I20100914-0100