[jboss-jira] [JBoss JIRA] (AS7-4681) SSOKey.hashCode() not consistent per node
Paul Ferraro (JIRA)
jira-events at lists.jboss.org
Mon Apr 30 18:05:18 EDT 2012
Paul Ferraro created AS7-4681:
---------------------------------
Summary: SSOKey.hashCode() not consistent per node
Key: AS7-4681
URL: https://issues.jboss.org/browse/AS7-4681
Project: Application Server 7
Issue Type: Bug
Components: Clustering
Affects Versions: 7.1.1.Final
Reporter: Paul Ferraro
Assignee: Paul Ferraro
Priority: Critical
Fix For: 7.1.2.Final-redhat1
Because Class.hashCode() is not uniform across cluster nodes, cache lookup of credentials will fail due to the fact that hashCodes are serialized along with key objects to support hash lookups without requiring objects to be deserialized.
The short of it is, replace the use of Class.hashCode() with Class.getName().hashCode().
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list