mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-09 16:39:37 +07:00
[tests] prepares Java tests for the language level raise
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
class Test {
|
||||
|
||||
interface F<T extends Throwable> {
|
||||
void _() throws T;
|
||||
void m() throws T;
|
||||
}
|
||||
|
||||
void m1() { }
|
||||
void m2() throws ClassNotFoundException { }
|
||||
void m3() throws Exception { }
|
||||
|
||||
|
||||
<K extends Throwable> void foo1(F<K> f) throws K { }
|
||||
<K extends ClassNotFoundException> void foo2(F<K> f) throws K { }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user