The rework of 314b069 in a7fec6a has created a lazy proxy to make sure
that the need for an exception cache resolver come as late as possible.

Unfortunately, the test that was only failing on CI because of an early
lookup has not been updated accordingly. This is now the case.

Issue: SPR-12850
master
Stephane Nicoll 10 years ago
parent a7fec6a459
commit 073c176400
  1. 1
      spring-context-support/src/test/java/org/springframework/cache/jcache/config/JCacheJavaConfigTests.java

@ -108,7 +108,6 @@ public class JCacheJavaConfigTests extends AbstractJCacheAnnotationTests {
try { try {
DefaultJCacheOperationSource cos = context.getBean(DefaultJCacheOperationSource.class); DefaultJCacheOperationSource cos = context.getBean(DefaultJCacheOperationSource.class);
assertSame(context.getBean("cacheResolver"), cos.getCacheResolver()); assertSame(context.getBean("cacheResolver"), cos.getCacheResolver());
assertNull(cos.getExceptionCacheResolver());
JCacheableService<?> service = context.getBean(JCacheableService.class); JCacheableService<?> service = context.getBean(JCacheableService.class);

Loading…
Cancel
Save