db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Fox (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (TORQUE-63) Wrong caching of method calls with more than three arguments in MethodResultCache
Date Wed, 04 Jul 2012 19:30:35 GMT

     [ https://issues.apache.org/jira/browse/TORQUE-63?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Thomas Fox updated TORQUE-63:

    Fix Version/s:     (was: 4.0-beta1)
> Wrong caching of method calls with more than three arguments in MethodResultCache
> ---------------------------------------------------------------------------------
>                 Key: TORQUE-63
>                 URL: https://issues.apache.org/jira/browse/TORQUE-63
>             Project: Torque
>          Issue Type: Bug
>          Components: Runtime
>    Affects Versions: 3.0, 3.1, 3.1.1, 3.2
>            Reporter: Ronny Völker
>            Assignee: Thomas Vandahl
>             Fix For: 3.3
> When caching a method call with more than three arguments using MethodResultCache#put(Object
value, Serializable keys), the 2nd argument is ignored, because it is overwritten by the 3rd
argument in  MethodCacheKey#init(Serializable keys).
> That means that two method calls which are only different in their 2nd argument are cached
in the same slot. 
> When the second call is cached, the first call is overwritten.
> When the cache is later queried for the first call, the result of the second call is

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org

View raw message