Henning P. Schmiedehausen wrote:
Release RC2 with the current JCS version. Hopefully, 1.3 will be out
when you are back. Alternatively you can fetch 1.2.6.5 (most current
built?) from
http://cvs.apache.org/viewcvs.cgi/jakarta-turbine-jcs/tempbuild/, test
with that one and lobby Aaron to push it to ibiblio.

If you want to go with the second approach, I've got two fixes for deprecation issues with the new JCS. You find them attached.

Bye, Thomas.

Index: 
db/torque/runtime/trunk/src/java/org/apache/torque/manager/AbstractBaseManager.java
===================================================================
--- 
db/torque/runtime/trunk/src/java/org/apache/torque/manager/AbstractBaseManager.java
 (revision 280271)
+++ 
db/torque/runtime/trunk/src/java/org/apache/torque/manager/AbstractBaseManager.java
 (working copy)
@@ -200,7 +200,7 @@
         {
             try
             {
-                cache.remove();
+                cache.clear();
             }
             catch (CacheException ce)
             {
Index: 
db/torque/runtime/trunk/src/java/org/apache/torque/manager/MethodResultCache.java
===================================================================
--- 
db/torque/runtime/trunk/src/java/org/apache/torque/manager/MethodResultCache.java
   (revision 280271)
+++ 
db/torque/runtime/trunk/src/java/org/apache/torque/manager/MethodResultCache.java
   (working copy)
@@ -70,7 +70,7 @@
         {
             try
             {
-                jcsCache.remove();
+                jcsCache.clear();
                 groups.clear();
             }
             catch (CacheException ce)

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to