[jboss-jira] [JBoss JIRA] Closed: (JBAS-4934) JBossCacheWrapper should not re-use data gravitation option

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Wed Nov 28 15:21:46 EST 2007


     [ http://jira.jboss.com/jira/browse/JBAS-4934?page=all ]

Brian Stansberry closed JBAS-4934.
----------------------------------

    Resolution: Done

> JBossCacheWrapper should not re-use data gravitation option
> -----------------------------------------------------------
>
>                 Key: JBAS-4934
>                 URL: http://jira.jboss.com/jira/browse/JBAS-4934
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Clustering, Web (Tomcat) service
>    Affects Versions: JBossAS-4.2.2.GA, JBossAS-4.2.1.GA, JBossAS-4.2.0.GA, JBossAS-4.0.5.GA
>            Reporter: Brian Stansberry
>         Assigned To: Brian Stansberry
>             Fix For: JBossAS-4.2.3.GA
>
>
> JBossCacheWrapper has a minor optimization where it creates an instance of Option, sets it to forceDataGravitation=true and then tries to re-use it across all invocations where we need to gravitate.  This is invalid usage; JBC does not promise an Option will be in its original state when an invocation returns.
> Just need to create an Option for each call; no big deal.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list