unhandled exception: shrink the highlighted range (IDEA-177234)

This commit is contained in:
Anna.Kozlova
2017-08-09 18:38:29 +02:00
parent 415b8f08ef
commit 3d1ba95725
7 changed files with 12 additions and 13 deletions
@@ -4,10 +4,10 @@ interface I<T extends Exception> {
class C {
void x(I<?> i) {
<error descr="Unhandled exception: java.lang.Exception">i.m();</error>
i.<error descr="Unhandled exception: java.lang.Exception">m();</error>
}
void y(I<? extends Exception> i) {
<error descr="Unhandled exception: java.lang.Exception">i.m();</error>
i.<error descr="Unhandled exception: java.lang.Exception">m();</error>
}
}