@Async
documentation should not suggest deprecated classes
#33805
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
type: documentation
A documentation task
Milestone
@Async
javadoc suggests that you can refine the return type of theFuture
you are returning toListenableFuture
, and provide anAsyncResult
as a value holder.However, both
ListenableFuture
andAsyncResult
are deprecated since6.0
, in favor ofCompletableFuture
.@Async
documentation should reflect this and stop suggestingListenableFuture
as result type.The text was updated successfully, but these errors were encountered: