axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 16486] New: - BaseSerializerFactory and BaseDeserializerFactory are not serializable
Date Tue, 28 Jan 2003 10:25:02 GMT
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:

Mime
View raw message