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

Dennis Sosnoski resolved JIBX-118.
----------------------------------

       Resolution: Fixed
    Fix Version/s: JiBX 1.1.3

This should be fixed in the 1.1.3 code. Please retest with that or the current 
code, available as the 1.1.4-SNAPSHOT jars on 
http://jibx.sourceforge.net/maven/jibx/jars/ , and respond if there are still 
problems.

> add-constructors does not work with classes mapped as abstract
> --------------------------------------------------------------
>
>                 Key: JIBX-118
>                 URL: http://jira.codehaus.org/browse/JIBX-118
>             Project: JiBX
>          Issue Type: Bug
>          Components: core
>    Affects Versions: JiBX 1.1
>         Environment: MacOS X, Java 5.0, Ant 1.6
>            Reporter: Daniel Dyer
>         Assigned To: Dennis Sosnoski
>             Fix For: JiBX 1.1.3
>
>
> I have a mapping for a collection that contains objects of type A.  A is an 
> abstract static inner class.  Classes B and C are concrete static inner 
> classes that extend from A.  I have mapped A with abstract="true" and used 
> map-as="A" with classes B and C.  None of these classes has a default 
> constructor so I have add-constructors="true" set on the binding element.
> The binding compiler runs fine, marshalling works OK but unmarshalling fails 
> with a NoSuchMethodError that refers to a no-arg constructor for class A.
> It seems that JiBX does not add default constructors for abstract classes.

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

        

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
jibx-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-devs

Reply via email to