You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2004/08/02 14:05:34 UTC

DO NOT REPLY [Bug 30434] New: - Findbugs find 'Non-transient non-serializable instance field in serializable class' in java code generated from JSPs

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=30434>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30434

Findbugs find 'Non-transient non-serializable instance field in serializable class' in java code generated from JSPs

           Summary: Findbugs find 'Non-transient non-serializable instance
                    field in serializable class' in java code generated from
                    JSPs
           Product: Tomcat 5
           Version: 5.0.27
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Jasper
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: egiraudy@instranet.com


Found through Findbugs (http://www.findbugs.net):

Findbugs comments:
"This Serializable class defines a non-primitive instance field which is 
neither transient, Serializable, or java.lang.Object, and does not appear to 
implement the Externalizable interface or the readObject() and writeObject() 
methods.  Objects of this class will not be deserialized correctly if a non-
Serializable object is stored in this field. "

This is about java classes generated from JSPs using tag libraries. The 
generated class contains private variable(s) of type 
org.apache.jasper.runtime.TagHandlerPool that doesnot mach the serailization 
requirements.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org