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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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:

Reply via email to