[jboss-jira] [JBoss JIRA] Commented: (EJBTHREE-787) readObject() method and passivation

Clebert Suconic (JIRA) jira-events at jboss.com
Wed Nov 15 18:05:41 EST 2006


    [ http://jira.jboss.com/jira/browse/EJBTHREE-787?page=comments#action_12347145 ] 
            
Clebert Suconic commented on EJBTHREE-787:
------------------------------------------

I have tested JBoss SErialization in all possible ways and didn't find any issues with readObject.

However...  Java Serialization needs a writeObject and readObject to be private otherwise it would just ignore the method. (I have checked that by writing few testcases).

Looking at the diff that generated this, Gaving was using writeObject without the private declaration. Maybe the field was being sent over Java Serialization and that's why he got some problems. (I don't know.. just guessing).


I will keep the testcases I created within JBoss Serialization just in case (It's always good to add more testcases), and if you (or someone) sees an issue with readObjects lets just reopen this issue or create another one.

> readObject() method and passivation
> -----------------------------------
>
>                 Key: EJBTHREE-787
>                 URL: http://jira.jboss.com/jira/browse/EJBTHREE-787
>             Project: EJB 3.0
>          Issue Type: Bug
>            Reporter: Gavin King
>         Assigned To: Clebert Suconic
>
> I have an SFSB with child objects that need to control their serialization using readObject(). It appears that JBoss serialization does not support readObject(), which means that SFSB passivation is essentially broken.

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

        



More information about the jboss-jira mailing list