[ 
http://jira.codehaus.org/browse/JIBX-237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dennis Sosnoski resolved JIBX-237.
----------------------------------

         Assignee: Dennis Sosnoski
       Resolution: Fixed
    Fix Version/s: JiBX 1.2.1

Added check for _jibx_serialize and _jibx_deserialize binding methods in 
classes extending java.lang.Enum, so that they'll be handled the same as other 
methods added by the binding compiler.

> Error when running the binding compiler more than once after adding 
> "enum-value-method" to a value
> --------------------------------------------------------------------------------------------------
>
>                 Key: JIBX-237
>                 URL: http://jira.codehaus.org/browse/JIBX-237
>             Project: JiBX
>          Issue Type: Bug
>          Components: core
>    Affects Versions: JiBX 1.1.6
>         Environment: JRE 1.6.0_07
>            Reporter: Iddo Rachlewski
>            Assignee: Dennis Sosnoski
>             Fix For: JiBX 1.2.1
>
>
> After adding the enum-value-method to a value element in the binding file,
> The first binding compilation succeeds and the marshalling / unmarshalling 
> works fine.
> once the binding compiler is run again, the following error appears:
>      [bind] Error running binding compiler
>      [bind] java.lang.ClassFormatError: Duplicate method name&signature in 
> class file ....
> The only way to resolve this is to either remove the enum-value-method, 
> build, then add it back and build again.
> or clean the entire project binaries and build it from scratch.
> both are time consuming when working with a large project.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
jibx-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-devs

Reply via email to