mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-13 21:55:01 +07:00
unchecked exceptions: check captured wildcards (IDEA-189184)
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
import java.util.function.Supplier;
|
||||
|
||||
class MyTest {
|
||||
public static void main(Supplier<? extends Exception> supplierException) {
|
||||
<error descr="Unhandled exception: java.lang.Exception">throw supplierException.get();</error>
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user