Return-Path: Delivered-To: apmail-db-torque-dev-archive@www.apache.org Received: (qmail 33774 invoked from network); 8 Nov 2006 20:19:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Nov 2006 20:19:22 -0000 Received: (qmail 8803 invoked by uid 500); 8 Nov 2006 20:19:32 -0000 Delivered-To: apmail-db-torque-dev-archive@db.apache.org Received: (qmail 8789 invoked by uid 500); 8 Nov 2006 20:19:32 -0000 Mailing-List: contact torque-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Apache Torque Developers List" Reply-To: "Apache Torque Developers List" Delivered-To: mailing list torque-dev@db.apache.org Received: (qmail 8775 invoked by uid 99); 8 Nov 2006 20:19:32 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Nov 2006 12:19:32 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Nov 2006 12:19:20 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C15F27142F7 for ; Wed, 8 Nov 2006 12:19:00 -0800 (PST) Message-ID: <24607127.1163017140789.JavaMail.jira@brutus> Date: Wed, 8 Nov 2006 12:19:00 -0800 (PST) From: "Thomas Vandahl (JIRA)" To: torque-dev@db.apache.org Subject: [jira] Commented: (TORQUE-63) Wrong caching of method calls with more than three arguments in MethodResultCache In-Reply-To: <3509863.1162998292201.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org [ http://issues.apache.org/jira/browse/TORQUE-63?page=3Dcomments#action= _12448256 ]=20 =20 Thomas Vandahl commented on TORQUE-63: -------------------------------------- I'll take care of this. > Wrong caching of method calls with more than three arguments in MethodRes= ultCache > -------------------------------------------------------------------------= -------- > > Key: TORQUE-63 > URL: http://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=C3=B6lker > Assigned To: Thomas Vandahl > Fix For: 3.2.1, 4.0 > > > When caching a method call with more than three arguments using MethodRes= ultCache#put(Object value, Serializable keys), the 2nd argument is ignored,= because it is overwritten by the 3rd argument in MethodCacheKey#init(Seri= alizable keys). > That means that two method calls which are only different in their 2nd ar= gument are cached in the same slot.=20 > 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 sec= ond call is returned. --=20 This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: htt= p://issues.apache.org/jira/secure/Administrators.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