You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xmlbeans.apache.org by "Tim Parker (JIRA)" <xm...@xml.apache.org> on 2006/04/11 21:06:21 UTC

[jira] Created: (XMLBEANS-265) Colliding methods error incorrectly reported when building extensions

Colliding methods error incorrectly reported when building extensions
---------------------------------------------------------------------

         Key: XMLBEANS-265
         URL: http://issues.apache.org/jira/browse/XMLBEANS-265
     Project: XMLBeans
        Type: Bug

  Components: Compiler  
    Versions: Version 2.1    
 Environment: WinXP, JDK 1.4
    Reporter: Tim Parker


When attempting to build a collections of beans with extensions, errors are incorrectly reported if there is any overlap in the method names used by the extensions - extending 'Test1' with a class containing an 'init()' method precludes extending 'Test2' with a different class containing an 'init()' method.  The work-around is to build each bean separately, or make all method names globally unique, but neither option is really realistic...

-- 
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
-
For more information on JIRA, 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] Updated: (XMLBEANS-265) Colliding methods error incorrectly reported when building extensions

Posted by "Tim Parker (JIRA)" <xm...@xml.apache.org>.
     [ http://issues.apache.org/jira/browse/XMLBEANS-265?page=all ]

Tim Parker updated XMLBEANS-265:
--------------------------------

    Attachment: issue-265.zip

archive contains example code, less the implied directory structure

> Colliding methods error incorrectly reported when building extensions
> ---------------------------------------------------------------------
>
>          Key: XMLBEANS-265
>          URL: http://issues.apache.org/jira/browse/XMLBEANS-265
>      Project: XMLBeans
>         Type: Bug

>   Components: Compiler
>     Versions: Version 2.1
>  Environment: WinXP, JDK 1.4
>     Reporter: Tim Parker
>  Attachments: issue-265.zip
>
> When attempting to build a collections of beans with extensions, errors are incorrectly reported if there is any overlap in the method names used by the extensions - extending 'Test1' with a class containing an 'init()' method precludes extending 'Test2' with a different class containing an 'init()' method.  The work-around is to build each bean separately, or make all method names globally unique, but neither option is really realistic...

-- 
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
-
For more information on JIRA, 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