[jboss-jira] [JBoss JIRA] Updated: (JBCLUSTER-270) SimpleCachableMarshalledValue should not invoke on user object in http session repl use case

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Tue May 18 21:53:06 EDT 2010


     [ https://jira.jboss.org/browse/JBCLUSTER-270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Stansberry updated JBCLUSTER-270:
---------------------------------------

    Summary: SimpleCachableMarshalledValue should not invoke on user object in http session repl use case  (was: SimpleCacheableMarshalledValue should not invoke on user object in http session repl use case)


> SimpleCachableMarshalledValue 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: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list