axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davanum Srinivas (JIRA)" <>
Subject [jira] Resolved: (AXIS-1767) Style and other Enums are not serializable enumerated types
Date Fri, 21 Jan 2005 17:01:19 GMT
     [ ]
Davanum Srinivas resolved AXIS-1767:

    Resolution: Fixed


-- dims

> Style and other Enums are not serializable enumerated types
> -----------------------------------------------------------
>          Key: AXIS-1767
>          URL:
>      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
> 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:
If you want more information on JIRA, or have a bug to report see:

View raw message