]
Brian Stansberry updated JBCLUSTER-270:
---------------------------------------
Fix Version/s: HA-Server-API 1.1.2.Final
HA-Server-Cache-JBC 2.0.3.Final
HA-Server-Cache-JBC 2.2.2.Final
SimpleCacheableMarshalledValue should not invoke on user object in
http session repl use case
---------------------------------------------------------------------------------------------
Key: JBCLUSTER-270
URL:
https://jira.jboss.org/browse/JBCLUSTER-270
Project: JBoss Clustering
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: HA-Server-API, HA-Server-Cache-JBC
Reporter: Brian Stansberry
Assignee: Brian Stansberry
Fix For: HA-Server-API 1.1.2.Final, HA-Server-Cache-JBC 2.0.3.Final ,
HA-Server-Cache-JBC 2.2.2.Final , HA-Server-API 2.0.0.Beta1
See JBSEAM-4367 for negative effect of calling hashCode() in the SCMV constructor.
The hashCode() call is to support using the SCMV as a key a hash map or as a value in a
HashSet. The HttpSession replication code does not use SCMV in that manner. So, add a
constructor param that disables calling hashCode().
At the same time, change SCMV.toString() so it doesn't call toString() on the wrapped
object, as similar problems to JBSEAM-4367 have appeared when an exception is thrown and
SCMV.toString() is called. SCMV.toString() should just output the class and identity hash
code of the wrapped object.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: