mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
generic throwable: detect generics through ancestors (IDEA-179958)
This commit is contained in:
+6
@@ -15,4 +15,10 @@ class C {
|
||||
class LocalExn extends Exception {}
|
||||
throw new RuntimeException() {};
|
||||
}
|
||||
|
||||
{
|
||||
class LocalGenerics<K> {
|
||||
class Ex extends <error descr="Generic class may not extend 'java.lang.Throwable'">Exception</error> {}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user