harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Liang (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-1192) [classlib][luni] java.io.ObjectOutputStream.writeObject() behaves incorrect when trying to serialize a non serializable object
Date Tue, 15 Aug 2006 12:06:13 GMT
[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
         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

        

Mime
View raw message