You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Paulex Yang (JIRA)" <ji...@apache.org> on 2006/08/16 07:48:15 UTC

[jira] Resolved: (HARMONY-1192) [classlib][luni] java.io.ObjectOutputStream.writeObject() behaves incorrect when trying to serialize a non serializable object

     [ http://issues.apache.org/jira/browse/HARMONY-1192?page=all ]

Paulex Yang resolved HARMONY-1192.
----------------------------------

    Resolution: Fixed

Richard, patch applied at revision r431833, thanks a lot for this enhancement, please verify that the problem is fully fixed as you expected.


> [classlib][luni] java.io.ObjectOutputStream.writeObject() behaves incorrect when trying to serialize a non serializable object
> ------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-1192
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1192
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Richard Liang
>         Assigned To: Paulex Yang
>         Attachments: Haromny-1192.diff
>
>
> Hello,
> But in Harmony, when trying to serialize a non serializable object, we only throws an NotSerializableException. In the spec of Java "Object Serialization", it's said: Exceptions may occur during the traversal or may occur in the underlying stream. For any subclass of IOException, the exception is written to the stream using the exception protocol and the stream state is discarded.
> I will attach a patch to fix this issue.
> Best regards,
> Richard

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