The following comment has been added to this issue:
Author: Ian Phillips
Created: Thu, 24 Feb 2005 5:44 PM
Body:
I misunderstood lightly what was failing at compile time here. The
storeStrategy in the nested context is doing the correct thing, it's the fact
that when it tries to generate the method call, the stack (as stored in
MethodBuilder.m_stackState as far as I can see) has an Object reference on it,
so it needs changing wherever the stack push occurs.
---------------------------------------------------------------------
View this comment:
http://jira.codehaus.org/browse/JIBX-48?page=comments#action_30282
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/JIBX-48
Here is an overview of the issue:
---------------------------------------------------------------------
Key: JIBX-48
Summary: Use item-type as the parameter type of the add-method in collection
Type: Improvement
Status: Unassigned
Priority: Major
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: JiBX
Components:
core
Versions:
1.0-beta3c
Assignee:
Reporter: Juan Carlos Estibariz
Created: Tue, 2 Nov 2004 5:21 PM
Updated: Thu, 24 Feb 2005 5:44 PM
Description:
The current implementation only allows java.lang.Object as the parameter type
for the method specified in the attribute add-method of the element collection.
Instead, it should use the class specified in the attribute item-type (if this
attribute is not specified it should use java.lang.Object).
---------------------------------------------------------------------
JIRA INFORMATION:
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
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
jibx-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-devs