Hi,

> > <     private Hashtable cache = null;
> > ---
> >> private Map cache = null;

> -1

> -jon

I guess that is because it is jdk1.2 only functionality.
I forgot about that...

Here is a revised patch for that one file;



Index: TurbineGlobalCacheService.java
===================================================================
RCS file: 
/products/cvs/turbine/turbine/src/java/org/apache/turbine/services/cache/TurbineGlobalCacheService.java,v
 retrieving revision 1.4
diff -r1.4 TurbineGlobalCacheService.java
208c208,209
<         for ( Enumeration e = cache.elements(); e.hasMoreElements(); )
---
>         //Log.note("pre-cache size = "+cache.size());
>         for ( Enumeration e = cache.keys(); e.hasMoreElements(); )
210c211,212
<             CachedObject co = (CachedObject) e.nextElement();
---
>             String id = (String)e.nextElement();
>             CachedObject co = (CachedObject) cache.get(id);
219c221,224
<                     cache.remove ( co );
---
>                 {
>                     cache.remove (id);
>                     co.cachedObjectFinalizer();
>                 }
221a227
>         //Log.note("post-cache size = "+cache.size());
---
"surely it is madness to accept life as it is and not as it could be"
______________________________________________
FREE Personalized Email at Mail.com
Sign up at http://www.mail.com/?sr=signup



------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to