harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrey Pavlenko (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-3393) [JDK][EUT] 58 tests failed in org.eclipse.jdt.core.tests.compiler.regression.TestAll suit
Date Tue, 15 May 2007 10:21:16 GMT

    [ 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&lt;Thread&gt; {}\n        ^\n The interface AX cannot be implemented
more than once with different arguments: AX&lt;Strin
> g&gt; and AX&lt;Thread&gt;\n ----------\n  ------------ but was ------------
----------\n 1. ERROR in X.java (at line 2)\n  class Y extends
> X implements AX&lt;Thread&gt; {}\n        ^\n The interface AX cannot be implemented
more than once with different arguments: AX&lt;Thread&g
> t; and AX&lt;String&gt;\n ----------\n  --------- Difference is ----------  expected:&lt;...String&gt;
and AX&lt;Thread...&gt; but was:&lt;.
> ..Thread&gt; and AX&lt;String...&gt;" 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&lt;Thread&gt; {}\n
>               ^\n
> The interface AX cannot be implemented more than once with different arguments: AX&lt;String&gt;
and AX&lt;Thread&gt;\n
> ----------\n
> ------------ but was ------------
> ----------\n
> 1. ERROR in X.java (at line 2)\n
>         class Y extends X implements AX&lt;Thread&gt; {}\n
>               ^\n
> The interface AX cannot be implemented more than once with different arguments: AX&lt;Thread&gt;
and AX&lt;String&gt;\n
> ----------\n
> --------- Difference is ----------
>  expected:&lt;...String&gt; and AX&lt;Thread...&gt; but was:&lt;...Thread&gt;
and AX&lt;String...&gt;
>         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&lt;P&gt; should be parameterized\n --
> --------\n 2. ERROR in X.java (at line 2)\n  class Y extends X implements AX&lt;Thread&gt;
{}\n        ^\n The interface AX cannot be implem
> ented more than once with different arguments: AX and AX&lt;Thread&gt;\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&lt;P&gt; should be parameterized\n ----------\n 2. ERROR in X.java (at line
2)\n  class Y extends X implements AX&lt;Thread&gt; {}\n
>     ^\n The interface AX cannot be implemented more than once with different arguments:
AX&lt;Thread&gt; and AX\n ----------\n  --------- Di
> fference is ----------  expected:&lt;... and AX&lt;Thread&gt;...&gt;
but was:&lt;...&lt;Thread&gt; and AX...&gt;" 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&lt;P&gt; should be parameterized\n
> ----------\n
> 2. ERROR in X.java (at line 2)\n
>         class Y extends X implements AX&lt;Thread&gt; {}\n
>               ^\n
> The interface AX cannot be implemented more than once with different arguments: AX and
AX&lt;Thread&gt;\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&lt;P&gt; should be parameterized\n
> ----------\n
> 2. ERROR in X.java (at line 2)\n
>         class Y extends X implements AX&lt;Thread&gt; {}\n
>               ^\n
> The interface AX cannot be implemented more than once with different arguments: AX&lt;Thread&gt;
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.


Mime
View raw message