Bugs?

Lorenzo Benvenuti <[email protected]> Wed, 06 Jun 2007 15:31:06 +0200
Newsgroups gmane.comp.java.openamf.devel,gmane.comp.java.openamf.user
Message-ID <[email protected]>
Hi,

I'm using openamf-1.0RC12 in a project and I think I found a couple of 
bugs. I had some issues serializing object referenced more than once. I 
gave a look to the openamf source code and I tried to play with the 
AMFDeserializer class (actually I didn't spend much time with that): I 
found that changing the index the class use to retrieve a previously 
serialized object solves the problem:

291c291
<         return storedObjects.get(index);
---
 >         return storedObjects.get(index + 1);

More than this, I discovered that the ASObject.toString() method causes 
a stack overflow when dealing with looping references.

Did anyone face similar issues?

Regards,

Lorenzo Benvenuti

-- 
Lorenzo Benvenuti

Senior Programmer

Tagetik Software
Via Farnesi, 141
55100 Lucca

Tel. (+39)058396811
Fax. (+39)058391199

[email protected]
http://www.tagetik.com

Questo messaggio puo' contenere informazioni di carattere estremamente
riservato e confidenziale. Qualora non foste i destinatari, vogliate
immediatamente informarci con lo stesso mezzo ed eliminare il messaggio,
con gli eventuali allegati, senza trattenerne copia. Qualsivoglia
utilizzo non autorizzato del contenuto di questo messaggio costituisce
violazione dell'obbligo di non prendere cognizione della corrispondenza
tra altri soggetti, salvo piu' grave illecito, ed espone il responsabile
alle relative conseguenze civili e penali.
http://www.tagetik.it/azienda/privacy_form per cancellare o modificare il
profilo. Nel rispetto della vostra privacy
http://www.tagetik.it/azienda/privacy-policy-1 per visionare la nostra
policy.

This message is being sent from Tagetik  and may contain information
which is confidential or privileged. If you are not the intended
recipient, please advise the sender immediately by reply e-mail and
delete this message and any attachments without retaining a copy. Any
unauthorized use of the content of this message is a breach of your duty
to respect the confidentiality of the correspondence between other
persons and can expose the responsible party to civil and/or criminal
penalties, and may constitute a more serious offense.
http://www.tagetik.com/company/privacy_form?set_language=en to
unsubscribe or modify your profile. We respect your right to privacy -
http://www.tagetik.com/company/privacy-policy?set_language=en to view
our policy.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/