https://issues.apache.org/bugzilla/show_bug.cgi?id=46464

           Summary: Serialisation issues in catalina
           Product: Tomcat 6
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: s...@apache.org


The class org.apache.catalina.session.StandardSession

defines the methods:

protected void readObject(ObjectInputStream stream)
protected void writeObject(ObjectOutputStream stream)

But since the methods aren't declared private, they will be silently ignored by
the serialization/deserialization API.

==

Furthermore, perhaps the methods should call
defaultReadObject() / defaultWriteObject() respectively.

The defaultxxxObject() methods are not called by the corresponding methods in 
the class org.apache.catalina.session.DeltaSession

==

The DeltaSession class additionally defines protected versions of
readObject()/writeObject(). 
These should probably be removed or renamed to avoid confusion with the Java
Serialisation API.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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

Reply via email to