Merge branch '6.2.x'

This commit is contained in:
Juergen Hoeller
2025-06-18 12:23:07 +02:00
5 changed files with 36 additions and 21 deletions
@@ -453,7 +453,7 @@ public abstract class CacheAspectSupport extends AbstractCacheInvoker
() -> {
CompletableFuture<?> invokeResult = ((CompletableFuture<?>) invokeOperation(invoker));
if (invokeResult == null) {
return null;
throw new IllegalStateException("Returned CompletableFuture must not be null: " + method);
}
return invokeResult.exceptionallyCompose(ex -> {
invokeFailure.set(true);