You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Aleksey Ignatenko (JIRA)" <ji...@apache.org> on 2007/03/14 12:39:09 UTC

[jira] Created: (HARMONY-3393) [JDK][EUT] 58 tests failed in org.eclipse.jdt.core.tests.compiler.regression.TestAll suit

[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.


[jira] Commented: (HARMONY-3393) [JDK][EUT] 58 tests failed in org.eclipse.jdt.core.tests.compiler.regression.TestAll suit

Posted by "Aleksey Ignatenko (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-3393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12480728 ] 

Aleksey Ignatenko commented on HARMONY-3393:
--------------------------------------------

These issues are to be verified, it is possible that the issue is in wrong written test (Eclipse bug). 
The possible fail reason here is that string is expected from the output is initially generated with RI implementation, but the resulting string differs from expected with 2 words placed in opposite positions. That happens because of list of this words is generated from some container like HashMap, but iteration order via HashMap elements is not specified by spec. Therefore we get different parameters order on different VMs and as a result other string at output than we expected. 


> [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.


[jira] Commented: (HARMONY-3393) [JDK][EUT] 58 tests failed in org.eclipse.jdt.core.tests.compiler.regression.TestAll suit

Posted by "Andrey Pavlenko (JIRA)" <ji...@apache.org>.
    [ 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.


[jira] Commented: (HARMONY-3393) [JDK][EUT] 58 tests failed in org.eclipse.jdt.core.tests.compiler.regression.TestAll suit

Posted by "Aleksey Ignatenko (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-3393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12480727 ] 

Aleksey Ignatenko commented on HARMONY-3393:
--------------------------------------------

To reproduce one needs to: 
1. build the latest Harmony jre 
2. dowload EUT runniing script from jira-2038 
3. update eut.properties: set test.jre.home= to Harmony jre home 
4. run "ant -Dtests=jdtcorecompiler" 


> [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.


[jira] Commented: (HARMONY-3393) [JDK][EUT] 58 tests failed in org.eclipse.jdt.core.tests.compiler.regression.TestAll suit

Posted by "Andrey Pavlenko (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-3393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12498220 ] 

Andrey Pavlenko commented on HARMONY-3393:
------------------------------------------

The fix for this issue has been committed to the eclipse CVS. I've verified - after applying the fix this issue is not reproducible. 
Aleksey, could you please close this issue?

> [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
>         Attachments: Scope.patch
>
>
> 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.


[jira] Updated: (HARMONY-3393) [JDK][EUT] 58 tests failed in org.eclipse.jdt.core.tests.compiler.regression.TestAll suit

Posted by "Andrey Pavlenko (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3393?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrey Pavlenko updated HARMONY-3393:
-------------------------------------

    Attachment: Scope.patch

All the failures are caused by inappropriate usage of HashSet in the org.eclipse.jdt.internal.compiler.lookup.Scope.minimalErasedCandidates(TypeBinding[], Map) method. This method stores the parameter types in a HashSet, but, according to the spec, HashSet does not keep the insertion order. 
This patch simply replaces HashSet with LinkedHashSet in this method.

> [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
>         Attachments: Scope.patch
>
>
> 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.


[jira] Resolved: (HARMONY-3393) [JDK][EUT] 58 tests failed in org.eclipse.jdt.core.tests.compiler.regression.TestAll suit

Posted by "Aleksey Ignatenko (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3393?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aleksey Ignatenko resolved HARMONY-3393.
----------------------------------------

    Resolution: Fixed

Fixed in Eclipse, will be released for 3.3


> [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
>         Attachments: Scope.patch
>
>
> 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.


[jira] Commented: (HARMONY-3393) [JDK][EUT] 58 tests failed in org.eclipse.jdt.core.tests.compiler.regression.TestAll suit

Posted by "Aleksey Ignatenko (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-3393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12496183 ] 

Aleksey Ignatenko commented on HARMONY-3393:
--------------------------------------------

Andrey, EUT are to be patched to run on drlvm (the issue you described is solved with that patch), I'll try to find out the current status of the patch and where to take it.

> [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.


[jira] Commented: (HARMONY-3393) [JDK][EUT] 58 tests failed in org.eclipse.jdt.core.tests.compiler.regression.TestAll suit

Posted by "Andrey Pavlenko (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-3393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12497485 ] 

Andrey Pavlenko commented on HARMONY-3393:
------------------------------------------

I've filed a bug to the Eclipse Bugzilla https://bugs.eclipse.org/bugs/show_bug.cgi?id=188103

> [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
>         Attachments: Scope.patch
>
>
> 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.


[jira] Commented: (HARMONY-3393) [JDK][EUT] 58 tests failed in org.eclipse.jdt.core.tests.compiler.regression.TestAll suit

Posted by "Aleksey Ignatenko (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-3393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12496468 ] 

Aleksey Ignatenko commented on HARMONY-3393:
--------------------------------------------

Please, file bug on Eclipse and close the JIRA with appropriate comment.

> [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
>         Attachments: Scope.patch
>
>
> 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.


[jira] Closed: (HARMONY-3393) [JDK][EUT] 58 tests failed in org.eclipse.jdt.core.tests.compiler.regression.TestAll suit

Posted by "Aleksey Ignatenko (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3393?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aleksey Ignatenko closed HARMONY-3393.
--------------------------------------

    Estimated Complexity: Moderate

> [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
>         Attachments: Scope.patch
>
>
> 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.