Skip to content

@Async documentation should not suggest deprecated classes #33805

Closed
@gbaso

Description

@gbaso

@Async javadoc suggests that you can refine the return type of the Future you are returning to ListenableFuture, and provide an AsyncResult as a value holder.

However, both ListenableFuture and AsyncResult are deprecated since 6.0, in favor of CompletableFuture. @Async documentation should reflect this and stop suggesting ListenableFuture as result type.

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: documentationA documentation task

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions