You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xmlbeans.apache.org by xm...@xml.apache.org on 2004/08/31 12:32:22 UTC

[jira] Created: (XMLBEANS-53) Two *unrelated* extensions cannot implement the same method

Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/XMLBEANS-53

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XMLBEANS-53
    Summary: Two *unrelated* extensions cannot implement the same method
       Type: Bug

     Status: Unassigned
   Priority: Major

    Project: XMLBeans
 Components: 
             Compiler
   Versions:
             Version 1.0.3

   Assignee: 
   Reporter: jean-christophe.pazzaglia

    Created: Tue, 31 Aug 2004 3:31 AM
    Updated: Tue, 31 Aug 2004 3:31 AM
Environment: Windows 2000, JDK 1.4.2_05

Description:
According that 2 *unrelated* extensions are defining a method with the
same signature, the compiler complains about duplicate.
error: Colliding methods 'm()' in interfaces ATypeInterface and BTypeInterface.

(maybe related to issue 33)


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org


[jira] Commented: (XMLBEANS-53) Two *unrelated* extensions cannot implement the same method

Posted by xm...@xml.apache.org.
The following comment has been added to this issue:

     Author: jean-christophe.pazzaglia
    Created: Tue, 31 Aug 2004 5:08 AM
       Body:
Sorry I mean issue 34
---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/XMLBEANS-53?page=comments#action_37956

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/XMLBEANS-53

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XMLBEANS-53
    Summary: Two *unrelated* extensions cannot implement the same method
       Type: Bug

     Status: Unassigned
   Priority: Major

    Project: XMLBeans
 Components: 
             Compiler
   Versions:
             Version 1.0.3

   Assignee: 
   Reporter: jean-christophe.pazzaglia

    Created: Tue, 31 Aug 2004 3:31 AM
    Updated: Tue, 31 Aug 2004 5:08 AM
Environment: Windows 2000, JDK 1.4.2_05

Description:
According that 2 *unrelated* extensions are defining a method with the
same signature, the compiler complains about duplicate.
error: Colliding methods 'm()' in interfaces ATypeInterface and BTypeInterface.

(maybe related to issue 33)


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org


[jira] Commented: (XMLBEANS-53) Two *unrelated* extensions cannot implement the same method

Posted by "Roshan Punnoose (JIRA)" <xm...@xml.apache.org>.
     [ http://issues.apache.org/jira/browse/XMLBEANS-53?page=comments#action_61515 ]
     
Roshan Punnoose commented on XMLBEANS-53:
-----------------------------------------

I am getting the same error in XMLBeans 2.0.0 beta 1. If I have an InterfaceA and an InterfaceB that both extend InterfaceSuper, the XMLBeans code generation complains. I think that this is because the same function name and signature is used. Is there a workaround?

> Two *unrelated* extensions cannot implement the same method
> -----------------------------------------------------------
>
>          Key: XMLBEANS-53
>          URL: http://issues.apache.org/jira/browse/XMLBEANS-53
>      Project: XMLBeans
>         Type: Bug
>   Components: Compiler
>     Versions: Version 1.0.3
>  Environment: Windows 2000, JDK 1.4.2_05
>     Reporter: jean-christophe.pazzaglia
>     Assignee: Cezar Andrei

>
> According that 2 *unrelated* extensions are defining a method with the
> same signature, the compiler complains about duplicate.
> error: Colliding methods 'm()' in interfaces ATypeInterface and BTypeInterface.
> (maybe related to issue 33)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org


[jira] Commented: (XMLBEANS-53) Two *unrelated* extensions cannot implement the same method

Posted by "jean-christophe.pazzaglia (JIRA)" <xm...@xml.apache.org>.
     [ http://nagoya.apache.org/jira/browse/XMLBEANS-53?page=comments#action_55301 ]
     
jean-christophe.pazzaglia commented on XMLBEANS-53:
---------------------------------------------------

Humm, as far as I remember (sorry I lost my test case
since I switch PC recently ...)
it was the case even if the interfaces were
not used to extend the features of the same 'schema' type.

ie InterfaceA extension for ElementClassA
InterfaceB extension for ElementClassB
without any relation between 
InterfaceA,B and ElementClassA,B

you can argue that I may define InterfaceA,B
using a superclass InterfaceSuper implemting m()
but 
1) I am not sure it will work
2) It is not always possible 

Thanks

jc

> Two *unrelated* extensions cannot implement the same method
> -----------------------------------------------------------
>
>          Key: XMLBEANS-53
>          URL: http://nagoya.apache.org/jira/browse/XMLBEANS-53
>      Project: XMLBeans
>         Type: Bug
>   Components: Compiler
>     Versions: Version 1.0.3
>  Environment: Windows 2000, JDK 1.4.2_05
>     Reporter: jean-christophe.pazzaglia
>     Assignee: Cezar Andrei

>
> According that 2 *unrelated* extensions are defining a method with the
> same signature, the compiler complains about duplicate.
> error: Colliding methods 'm()' in interfaces ATypeInterface and BTypeInterface.
> (maybe related to issue 33)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org


[jira] Closed: (XMLBEANS-53) Two *unrelated* extensions cannot implement the same method

Posted by xm...@xml.apache.org.
Message:

   The following issue has been closed.

   Resolver: Cezar Andrei
       Date: Mon, 11 Oct 2004 3:49 PM

This error happens when two methods with the same name and argument types are defined for the same interface. This check is necesary to avoid later javac errors.
---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/XMLBEANS-53

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XMLBEANS-53
    Summary: Two *unrelated* extensions cannot implement the same method
       Type: Bug

     Status: Closed
   Priority: Major
 Resolution: WON'T FIX

    Project: XMLBeans
 Components: 
             Compiler
   Versions:
             Version 1.0.3

   Assignee: Cezar Andrei
   Reporter: jean-christophe.pazzaglia

    Created: Tue, 31 Aug 2004 3:31 AM
    Updated: Mon, 11 Oct 2004 3:49 PM
Environment: Windows 2000, JDK 1.4.2_05

Description:
According that 2 *unrelated* extensions are defining a method with the
same signature, the compiler complains about duplicate.
error: Colliding methods 'm()' in interfaces ATypeInterface and BTypeInterface.

(maybe related to issue 33)


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org