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=22438>.
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=22438

TemplatesImpl throws java.io.NotSerializableException: java.lang.ThreadLocal

           Summary: TemplatesImpl throws java.io.NotSerializableException:
                    java.lang.ThreadLocal
           Product: XalanJ2
           Version: CurrentCVS
          Platform: All
        OS/Version: Other
            Status: NEW
          Severity: Major
          Priority: Other
         Component: org.apache.xalan.xsltc
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


TemplatesImpl is marked serializable but contains members which are not.
ThreadLocal _sdom should be declared transient and recreated in ReadObject or
the default no-parameter constructor. Also, the reference to the UriResolver
should be declared transient or possibly removed depending on the architecture
requirements as UriResolver may not implement Serializable and really shouldn't
be serialized with the object graph.

Reply via email to