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 5829] StandardManager needs to cope with sessions throwing exception in read/write
Date Tue, 14 Dec 2010 19:12:21 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=5829

--- Comment #12 from Christopher Schultz <chris@christopherschultz.net> 2010-12-14 14:12:13
EST ---
(In reply to comment #11)
> I don't know when it was added but all the current versions (5.5.x, 6.0.x,
> 7.0.x) surround each attribute write in a try/catch and should the write fail,
> the attribute is replaced with a warning message.

Does that mean that an object of type MyClass might be replaced by a String?
That would certainly confuse code that was expecting a MyClass object and does
proper NULL checking.

Would either replacing the value with NULL or ignoring the session entirely be
a better solution?

-- 
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