[jbosscache-dev] Hibernate testsuite bound to internals of JBoss Cache 2.X

Manik Surtani manik at jboss.org
Thu May 1 12:15:10 EDT 2008


On 1 May 2008, at 13:59, Brian Stansberry wrote:

>
>
> Manik Surtani wrote:
>> I just spotted this, trying to run the Hibernate test suite against  
>> a snapshot of 2.2.0:
>> org 
>> .hibernate 
>> .test.cache.jbc2.functional.util.CustomClassLoaderCacheFactory uses  
>> an internal class, CacheImpl.java, that no longer exists in 2.2.0.
>
> Good catch.
>
>> Brian, I vaguely remember you mentioning this to me in the past,  
>> should have provided a proper extension point at the time.
>
> You did, via DefaultCacheFactory.setDefaultCacheLoader(). This class  
> was just a leftover from my workaround before you did that. Wasn't  
> used anymore, is now gone from svn, won't be in Hibernate 3.3.0.GA.

Cool, thanks.  Without that, Hibernate's jbosscache2 integration tests  
pass 100% with my latest snapshot of 2.2.0.  Time to cut that beta  
already.  :-)

Cheers,
--
Manik Surtani
Lead, JBoss Cache
manik at jboss.org









More information about the jbosscache-dev mailing list