This commit further refines 240f254 to also support java.util.Optional
for synchronized cache access (i.e. when the `sync` attribute on
`@Cacheable` is set to `true`).
Issue: SPR-14853
@ -361,12 +360,12 @@ public abstract class CacheAspectSupport extends AbstractCacheInvoker
@@ -361,12 +360,12 @@ public abstract class CacheAspectSupport extends AbstractCacheInvoker
// The invoker wraps any Throwable in a ThrowableWrapper instance so we
@ -401,23 +400,12 @@ public abstract class CacheAspectSupport extends AbstractCacheInvoker
@@ -401,23 +400,12 @@ public abstract class CacheAspectSupport extends AbstractCacheInvoker
@ -434,6 +422,21 @@ public abstract class CacheAspectSupport extends AbstractCacheInvoker
@@ -434,6 +422,21 @@ public abstract class CacheAspectSupport extends AbstractCacheInvoker