You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by bu...@apache.org on 2003/01/28 11:25:02 UTC
DO NOT REPLY [Bug 16486] New: -
BaseSerializerFactory and BaseDeserializerFactory are not serializable
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16486>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16486
BaseSerializerFactory and BaseDeserializerFactory are not serializable
Summary: BaseSerializerFactory and BaseDeserializerFactory are
not serializable
Product: Axis
Version: 1.1beta
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: Other
Component: Serialization/Deserialization
AssignedTo: axis-dev@xml.apache.org
ReportedBy: antelder@apache.org
The class BaseDeserializerFactory implements DeserializerFactory, and
DeserializerFactory extends javax.xml.rpc.encoding.DeserializerFactory, and
DeserializerFactory extends java.io.Serializable, but BaseDeserializerFactory
has instance fields of type Constructor and Method which are not serializable.
The BaseSerializerFactory has the same problem.
I've changed the instance variables to be transient and added getter methods
which recreate the fields if null, and this seems to work ok from the testing
I've done.
Here's the patch file: