You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Andrey Pavlenko (JIRA)" <ji...@apache.org> on 2007/05/15 12:21:16 UTC
[jira] Commented: (HARMONY-3393) [JDK][EUT] 58 tests failed in
org.eclipse.jdt.core.tests.compiler.regression.TestAll suit
[ https://issues.apache.org/jira/browse/HARMONY-3393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12495938 ]
Andrey Pavlenko commented on HARMONY-3393:
------------------------------------------
Aleksey, which VM do you use to run the tests? When I run the tests under DRLVM most of the test cases fail with "The type java.lang.Object cannot be resolved" message. AFAIR this issue was discussing in the dev-list and it was proposed to apply a patch against EUT sources before running the tests, but the mentioned script from jira-2038 uses binary distribution of EUT.
Aleksey, could you please provide with more information on how to run the compiler tests on DRLVM?
> [JDK][EUT] 58 tests failed in org.eclipse.jdt.core.tests.compiler.regression.TestAll suit
> -----------------------------------------------------------------------------------------
>
> Key: HARMONY-3393
> URL: https://issues.apache.org/jira/browse/HARMONY-3393
> Project: Harmony
> Issue Type: Bug
> Components: JDK
> Reporter: Aleksey Ignatenko
>
> 58 tests failed in org.eclipse.jdt.core.tests.compiler.regression.TestAll suit.
> Some stack traces:
> 1. <failure message="Invalid problem log . ----------- Expected ------------ ----------\n 1. ERROR in X.java (at line 2)\n class Y exten
> ds X implements AX<Thread> {}\n ^\n The interface AX cannot be implemented more than once with different arguments: AX<Strin
> g> and AX<Thread>\n ----------\n ------------ but was ------------ ----------\n 1. ERROR in X.java (at line 2)\n class Y extends
> X implements AX<Thread> {}\n ^\n The interface AX cannot be implemented more than once with different arguments: AX<Thread&g
> t; and AX<String>\n ----------\n --------- Difference is ---------- expected:<...String> and AX<Thread...> but was:<.
> ..Thread> and AX<String...>" type="junit.framework.ComparisonFailure">junit.framework.ComparisonFailure: Invalid problem log .
> ----------- Expected ------------
> ----------\n
> 1. ERROR in X.java (at line 2)\n
> class Y extends X implements AX<Thread> {}\n
> ^\n
> The interface AX cannot be implemented more than once with different arguments: AX<String> and AX<Thread>\n
> ----------\n
> ------------ but was ------------
> ----------\n
> 1. ERROR in X.java (at line 2)\n
> class Y extends X implements AX<Thread> {}\n
> ^\n
> The interface AX cannot be implemented more than once with different arguments: AX<Thread> and AX<String>\n
> ----------\n
> --------- Difference is ----------
> expected:<...String> and AX<Thread...> but was:<...Thread> and AX<String...>
> at org.eclipse.jdt.core.tests.junit.extension.TestCase.assertStringEquals(TestCase.java:134)
> at org.eclipse.jdt.core.tests.junit.extension.TestCase.assertEquals(TestCase.java)
> at org.eclipse.jdt.core.tests.compiler.regression.AbstractRegressionTest.runNegativeTest(AbstractRegressionTest.java:690)
> at org.eclipse.jdt.core.tests.compiler.regression.AbstractRegressionTest.runNegativeTest(AbstractRegressionTest.java)
> at org.eclipse.jdt.core.tests.compiler.regression.AbstractRegressionTest.runNegativeTest(AbstractRegressionTest.java)
> at org.eclipse.jdt.core.tests.compiler.regression.GenericTypeTest.test0109(GenericTypeTest.java:3288)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java)
> at junit.extensions.TestDecorator.run(TestDecorator.java)
> at org.eclipse.jdt.core.tests.util.CompilerTestSetup.run(CompilerTestSetup.java:47)
> 2. <failure message="Invalid problem log . ----------- Expected ------------ ----------\n 1. WARNING in X.java (at line 1)\n public clas
> s X implements AX {}\n ^^\n AX is a raw type. References to generic type AX<P> should be parameterized\n --
> --------\n 2. ERROR in X.java (at line 2)\n class Y extends X implements AX<Thread> {}\n ^\n The interface AX cannot be implem
> ented more than once with different arguments: AX and AX<Thread>\n ----------\n ------------ but was ------------ ----------\n 1. WAR
> NING in X.java (at line 1)\n public class X implements AX {}\n ^^\n AX is a raw type. References to generic type
> AX<P> should be parameterized\n ----------\n 2. ERROR in X.java (at line 2)\n class Y extends X implements AX<Thread> {}\n
> ^\n The interface AX cannot be implemented more than once with different arguments: AX<Thread> and AX\n ----------\n --------- Di
> fference is ---------- expected:<... and AX<Thread>...> but was:<...<Thread> and AX...>" type="junit.framework.Comp
> arisonFailure">junit.framework.ComparisonFailure: Invalid problem log .
> ----------- Expected ------------
> ----------\n
> 1. WARNING in X.java (at line 1)\n
> public class X implements AX {}\n
> ^^\n
> AX is a raw type. References to generic type AX<P> should be parameterized\n
> ----------\n
> 2. ERROR in X.java (at line 2)\n
> class Y extends X implements AX<Thread> {}\n
> ^\n
> The interface AX cannot be implemented more than once with different arguments: AX and AX<Thread>\n
> ----------\n
> ------------ but was ------------
> ----------\n
> 1. WARNING in X.java (at line 1)\n
> public class X implements AX {}\n
> ^^\n
> AX is a raw type. References to generic type AX<P> should be parameterized\n
> ----------\n
> 2. ERROR in X.java (at line 2)\n
> class Y extends X implements AX<Thread> {}\n
> ^\n
> The interface AX cannot be implemented more than once with different arguments: AX<Thread> and AX\n
> ----------\n
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.