mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 03:13:40 +07:00
test for IDEA-62529
This commit is contained in:
+10
-1
@@ -478,4 +478,13 @@ public class Test {
|
||||
}
|
||||
|
||||
class W<T> {}
|
||||
class P<L> {}
|
||||
class P<L> {}
|
||||
|
||||
// IDEA-62529
|
||||
class Refx<T> {
|
||||
Class<? super T> get() { return null; }
|
||||
boolean f() {
|
||||
if (get() == Enum.class) return false;
|
||||
return (Class<Enum>)get() == Enum.class;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user