mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 15:09:39 +07:00
preserve captured wildcards during non wildcard parameterization (IDEA-132690)
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
import java.util.concurrent.CompletableFuture;
|
||||
|
||||
interface Test {
|
||||
CompletableFuture<?> doWork();
|
||||
}
|
||||
|
||||
class Worker {
|
||||
Test test;
|
||||
|
||||
public void stuff() {
|
||||
|
||||
test.doWork()
|
||||
.exceptionally(t -> null);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user