Uploaded image for project: 'JBoss Clustering'
  1. JBoss Clustering
  2. JBCLUSTER-270

SimpleCachableMarshalledValue should not invoke on user object in http session repl use case

    Details

      Description

      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  brian.stansberry Brian Stansberry
                  Reporter:
                  brian.stansberry Brian Stansberry
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: