tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 46464] New: Serialisation issues in catalina
Date Fri, 02 Jan 2009 14:53:28 GMT

           Summary: Serialisation issues in catalina
           Product: Tomcat 6
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina

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
These should probably be removed or renamed to avoid confusion with the Java
Serialisation API.

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message