Janne Jalkanen wrote:

Yes, we are using official 2.3.1, directly downloaded off the oscache site. I have no idea what has happened. Maybe oscache has changed their jar?

Could have. But there are actual API changes too.

Specifically, the oscache.jar file delivered with JSPWiki CVS is 123220K,
whereas the oscache-2.3.1.jar file from their download is 124197K. In
comparing the jar listings there are discrepancies in file sizes within
the class files, with the compile date on JSPWiki's as Mon Mar 06 19:25:04
NZDT 2006, the OpenSymphony file is Sun Jun 18 23:12:20 NZST 2006. Perhaps
it's the version one back or something? The only API change I've noted is
the lack of the Cache.getSize() method I mentioned, i.e., I began using it
after downloading 2.3.1 but when used it with JSPWiki got a compile error
and investigated. Seems there are five files affected total.

But there certainly doesn't seem to be any reason (that I can see) not to
use the 2.3.1 file directly if that's the intent, available as a binary at:

  https://oscache.dev.java.net/files/documents/629/36361/oscache-2.3.1-full.zip

Apart from date differences, here's those between the two jars:

2c2
<    203 META-INF/MANIFEST.MF
---
>    205 META-INF/MANIFEST.MF
21c21
<  18104 com/opensymphony/oscache/base/Cache.class
---
>  18417 com/opensymphony/oscache/base/Cache.class
39c39
<   2809 com/opensymphony/oscache/base/algorithm/LRUCache.class
---
>   2900 com/opensymphony/oscache/base/algorithm/LRUCache.class
80,81c80,81
<  12952 com/opensymphony/oscache/web/filter/CacheFilter.class
<   6550 
com/opensymphony/oscache/web/filter/CacheHttpServletResponseWrapper.class
---
>  13569 com/opensymphony/oscache/web/filter/CacheFilter.class
>   6873 
com/opensymphony/oscache/web/filter/CacheHttpServletResponseWrapper.class
85c85
<   3939 com/opensymphony/oscache/web/filter/ResponseContent.class
---
>   4590 com/opensymphony/oscache/web/filter/ResponseContent.class

Murray

...........................................................................
Murray Altheim <murray07 at altheim.com>                           ===  = =
http://www.altheim.com/murray/                                     = =  ===
SGML Grease Monkey, Banjo Player, Wantanabe Zen Monk               = =  = =

      Boundless wind and moon - the eye within eyes,
      Inexhaustible heaven and earth - the light beyond light,
      The willow dark, the flower bright - ten thousand houses,
      Knock at any door - there's one who will respond.
                                      -- The Blue Cliff Record

Reply via email to