镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Completable futurization - #1546

Open
aleksandy wants to merge 2 commits into
playframework:masterfrom
aleksandy:completable-futurization
Open

aleksandy wants to merge 2 commits into
playframework:masterfrom
aleksandy:completable-futurization

Conversation

@aleksandy

Copy link
Copy Markdown
Contributor

Migration of framework infrastructure classes to modern mechanisms provided by the JVM, replacing custom implementations. The goal could be considered to replace all framework specific implementations of abstractions that were missing in the platform at the time of their writing, but are present now.

…ughout framework

- Replace Promise→CompletableFuture in F.java combinators (waitAll/wait2..5/waitEither/waitAny), EventStream/BlockingEventStream.nextEvent(), ArchivedEventStream.nextEvents(), Job.now()/afterRequest/in()
- Add volatile consumed guard + get(long,TimeUnit) override in LazyTask to fix dupes/losses
- Update waitEither/waitAny signatures to Promise→CompletableFuture with join()-based winner
- Mark F.Prompt @deprecated, update test declarations
@aleksandy
aleksandy force-pushed the completable-futurization branch from ebfac66 to 7f4a7bb Compare November 9, 2026 01:44
@aleksandy
aleksandy marked this pull request as ready for review November 9, 2026 01:45
@mergify

mergify Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

@aleksandy

Copy link
Copy Markdown
Contributor Author

@xael-fry, could you review this PR please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant