Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Method references Async::await are not taken away #45

Open
azurvii opened this issue Nov 20, 2019 · 1 comment
Open

Method references Async::await are not taken away #45

azurvii opened this issue Nov 20, 2019 · 1 comment
Labels

Comments

@azurvii
Copy link

azurvii commented Nov 20, 2019

The instrumentation tool takes away all Async.await occurrences, but does not take away Async::await. I think this is a bug?

E.g.

final List<CompletableFuture<Void>> futures = new ArrayList<>();
futures.add(CompletableFuture.completedFuture(null));
futures.stream().map(Async::await).collect(Collectors.toList());

The Async::await stays after instrumentation.

@JoeHegarty JoeHegarty added the bug label Nov 20, 2019
@JoeHegarty
Copy link
Member

Yes, this is likely a bug. A PR would be welcome, unfortunately I am unlikely to get time to fix in the near future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants