ServletBeanContext is partially Serializable
--------------------------------------------
Key: BEEHIVE-194
URL: http://issues.apache.org/jira/browse/BEEHIVE-194
Project: Beehive
Type: Bug
Components: Controls
Reporter: Rich Feit
Assigned to: Kyle Marvin
ServletBeanContext, which is stored in the session, keeps a stack of
ServletBeanContext$RequestContext objects. ServletBeanContext is Serializable
(through superclass BeanContextSupport), but RequestContext is not. This means
that when the session is serialized, there can be errors because
ServletBeanContext is not fully Serializable. I think the stack of
RequestContexts (ServletBeanContext._reqStack) should be transient. It may be
true that the stack of RequestContext objects is only nonempty in the middle of
a request, but we can't guarantee that the session won't be serialized in the
middle of a request (this is common with code that tests the size of the
session).
Kyle, is this one yours?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira