You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xmlbeans.apache.org by "jean-christophe.pazzaglia (JIRA)" <xm...@xml.apache.org> on 2004/11/10 15:38:23 UTC

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

     [ 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