harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paulex Yang (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HARMONY-2245) [classlib] [regex] Serialization and de-serialization fails for java.util.regex.Pattern
Date Tue, 21 Nov 2006 17:00:06 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-2245?page=all ]

Paulex Yang resolved HARMONY-2245.
----------------------------------

    Resolution: Fixed

Sian, modified patch applied at revision r477745, I refactored the test cases to use SerializationTest
utilities in support module to verify self-serialization as well as so called "golden file"
deserialization, and updated other relevant files(build.xml, .classpath, MANIFEST.MF, etc)
to make it work, thanks a lot for this enhancement, please verify that the problem is fully
fixed as you expected.

> [classlib] [regex] Serialization and de-serialization fails for java.util.regex.Pattern
> ---------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2245
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2245
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Sian January
>         Assigned To: Paulex Yang
>         Attachments: 2245patch.txt, 2245patch_updated.txt
>
>
> The following error is encountered when trying to serialize a Pattern:
> java.io.NotSerializableException: java.util.regex.Lexer
> at java.io.ObjectOutputStream.writeNewObject(ObjectOutputStream.java:1639)
> at java.io.ObjectOutputStream.writeObjectInternal(ObjectOutputStream.java:1955)
> at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:1785)
> at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:1749)
> at java.io.ObjectOutputStream.writeFieldValues(ObjectOutputStream.java:1234)
> at java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:39)
> at java.io.ObjectOutputStream.writeHierarchy(ObjectOutputStream.java:1334)
> at java.io.ObjectOutputStream.writeNewObject(ObjectOutputStream.java:1675)
> at java.io.ObjectOutputStream.writeObjectInternal(ObjectOutputStream.java:1955)
> at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:1785)
> at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:1749)

-- 
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