java highlighting tests moved to community

This commit is contained in:
Alexey Kudravtsev
2010-06-24 15:54:13 +04:00
parent 7ec040c1ec
commit 735a9d17a8
243 changed files with 22082 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
class C <T extends Exception> {
void foo () throws T {}
void bar () {
<error descr="Unhandled exception: T">foo ();</error>
}
<T extends Error> void goo() {
try {
int i = 12;
} catch (<error descr="Cannot catch type parameters">T</error> ex) {
}
}
}
//IDEADEV-4169: no problem here
interface Blub {
public <E extends Throwable> void Switch() throws E;
}
class Blib implements Blub {
public <E extends Throwable> void Switch() throws E {
}
}