axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davanum Srinivas (JIRA)" <axis-...@ws.apache.org>
Subject [jira] Resolved: (AXIS-1767) Style and other Enums are not serializable enumerated types
Date Fri, 21 Jan 2005 17:01:19 GMT
     [ http://issues.apache.org/jira/browse/AXIS-1767?page=history ]
     
Davanum Srinivas resolved AXIS-1767:
------------------------------------

    Resolution: Fixed

Fixed.

-- dims

> Style and other Enums are not serializable enumerated types
> -----------------------------------------------------------
>
>          Key: AXIS-1767
>          URL: http://issues.apache.org/jira/browse/AXIS-1767
>      Project: Axis
>         Type: Bug
>     Versions: current (nightly)
>     Reporter: David Jencks
>  Attachments: Style.diff
>
> the Style and other Enum subclasses are not actually serializable enumerated types. 
Serializing/deserializing produces a new instance.  Furthermore, the implementation seems
quite broken since the Enum type field is always null due to constructing the Style instances
in the Style.Type constructor, before the final static Style.type field is initialized.
> I can't see why such a complicated non-standard enumeration implementation is needed.
 I've attached a more standard simpler implemenation that actually serializes/deserializes
correctly.
> The equals method in Enum is also wrong, but I didn't fix it.

-- 
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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


Mime
View raw message