Community
Participate
Working Groups
at https://download.eclipse.org/eclipse/downloads/drops4/I20200820-0230/testresults/html/org.eclipse.jdt.core.tests.model_ep417I-unit-win32-java11_win32.win32.x86_64_11.html with st: Module mementos. ----------- Expected ------------ =Test/C:\Program Files\AdoptOpenJDK\jdk-11.0.7.10-hotspot\/lib\/jrt-fs.jar`java.base=/annotationpath=/annots=/=/add-exports=/jdk.rmic\/sun.rmi.rmic\=ALL-UNNAMED=/<'`java.base ------------ but was ------------ =Test/C:\/Program Files\/AdoptOpenJDK\/jdk-11.0.7.10-hotspot\/lib\/jrt-fs.jar`java.base=/annotationpath=/annots=/=/add-exports=/jdk.rmic\/sun.rmi.rmic\=ALL-UNNAMED=/<'`java.base --------- Difference is ---------- expected:<=Test/C:\[Program Files\AdoptOpenJDK\]jdk-11.0.7.10-hotspo...> but was:<=Test/C:\[/Program Files\/AdoptOpenJDK\/]jdk-11.0.7.10-hotspo...> junit.framework.ComparisonFailure: Module mementos. ----------- Expected ------------ =Test/C:\Program Files\AdoptOpenJDK\jdk-11.0.7.10-hotspot\/lib\/jrt-fs.jar`java.base=/annotationpath=/annots=/=/add-exports=/jdk.rmic\/sun.rmi.rmic\=ALL-UNNAMED=/<'`java.base ------------ but was ------------ =Test/C:\/Program Files\/AdoptOpenJDK\/jdk-11.0.7.10-hotspot\/lib\/jrt-fs.jar`java.base=/annotationpath=/annots=/=/add-exports=/jdk.rmic\/sun.rmi.rmic\=ALL-UNNAMED=/<'`java.base --------- Difference is ---------- expected:<=Test/C:\[Program Files\AdoptOpenJDK\]jdk-11.0.7.10-hotspo...> but was:<=Test/C:\[/Program Files\/AdoptOpenJDK\/]jdk-11.0.7.10-hotspo...> at org.eclipse.jdt.core.tests.junit.extension.TestCase.assertStringEquals(TestCase.java:266) at org.eclipse.jdt.core.tests.junit.extension.TestCase.assertEquals(TestCase.java:242) at org.eclipse.jdt.core.tests.model.MementoTests.testAnnotationPath9(MementoTests.java:878) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at junit.framework.TestCase.runTest(TestCase.java:177) at org.eclipse.jdt.core.tests.junit.extension.TestCase.runTest(TestCase.java:957) at junit.framework.TestCase.runBare(TestCase.java:142) at junit.framework.TestResult$1.protect(TestResult.java:122) at junit.framework.TestResult.runProtected(TestResult.java:142) at junit.framework.TestResult.run(TestResult.java:125) at junit.framework.TestCase.run(TestCase.java:130) at junit.framework.TestSuite.runTest(TestSuite.java:241) at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$Suite.runTest(SuiteOfTestCases.java:115) at junit.framework.TestSuite.run(TestSuite.java:236) at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$Suite.superRun(SuiteOfTestCases.java:99) at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$Suite$1.protect(SuiteOfTestCases.java:87) at junit.framework.TestResult.runProtected(TestResult.java:142) at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$Suite.run(SuiteOfTestCases.java:96) at junit.framework.TestSuite.runTest(TestSuite.java:241) at junit.framework.TestSuite.run(TestSuite.java:236) at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at org.junit.runner.JUnitCore.run(JUnitCore.java:115) at org.junit.vintage.engine.execution.RunnerExecutor.execute(RunnerExecutor.java:43) at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Iterator.forEachRemaining(Iterator.java:133) at java.base/java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:497) at org.junit.vintage.engine.VintageTestEngine.executeAllChildren(VintageTestEngine.java:82) at org.junit.vintage.engine.VintageTestEngine.execute(VintageTestEngine.java:73) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:248) at org.junit.platform.launcher.core.DefaultLauncher.lambda$execute$5(DefaultLauncher.java:211) at org.junit.platform.launcher.core.DefaultLauncher.withInterceptedStreams(DefaultLauncher.java:226) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:199) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:132) at org.eclipse.test.EclipseTestRunner.runTests(EclipseTestRunner.java:226) at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:202) at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java:52) at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:35)
*** Bug 573817 has been marked as a duplicate of this bug. ***
Still there in 4.21 :-( https://download.eclipse.org/eclipse/downloads/drops4/I20210811-1800/testresults/html/org.eclipse.jdt.core.tests.model_ep421I-unit-win32-java11_win32.win32.x86_64_11.html Stephan, I assume there could be test expectation issue related the paths conversion (backslash vs slash) used on Windows, could you please take a look? The test was added via bug 466299.
(In reply to Andrey Loskutov from comment #2) > Still there in 4.21 :-( > > https://download.eclipse.org/eclipse/downloads/drops4/I20210811-1800/ > testresults/html/org.eclipse.jdt.core.tests.model_ep421I-unit-win32- > java11_win32.win32.x86_64_11.html > > Stephan, I assume there could be test expectation issue related the paths > conversion (backslash vs slash) used on Windows, could you please take a > look? The test was added via bug 466299. I don't have any windows box to analyze this :(
New Gerrit change created: https://git.eclipse.org/r/c/jdt/eclipse.jdt.core/+/184059
Gerrit change https://git.eclipse.org/r/c/jdt/eclipse.jdt.core/+/184059 was merged to [master]. Commit: http://git.eclipse.org/c/jdt/eclipse.jdt.core.git/commit/?id=f4efc5d50447548a10c44a404ba526f0f0bc15e2
Works fine in https://download.eclipse.org/eclipse/downloads/drops4/I20210816-1800
(In reply to Andrey Loskutov from comment #6) > Works fine in > https://download.eclipse.org/eclipse/downloads/drops4/I20210816-1800 Thanks Andrey for verifying this. Marking accordingly.