tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 46464] New: Serialisation issues in catalina
Date Fri, 02 Jan 2009 14:53:28 GMT
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: sebb@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message