add-constructors does not work with classes mapped as abstract
--------------------------------------------------------------
Key: JIBX-118
URL: http://jira.codehaus.org/browse/JIBX-118
Project: JiBX
Type: Bug
Components: core
Versions: JiBX 1.1
Environment: MacOS X, Java 5.0, Ant 1.6
Reporter: Daniel Dyer
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
_______________________________________________
jibx-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-devs