Skip to content

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

Description

@azurvii

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions