mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-24 09:20:53 +07:00
interface static methods in method refs by subclass error (IDEA-187330)
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
interface I {
|
||||
static <Z> void foo() { }
|
||||
}
|
||||
|
||||
class A implements I {
|
||||
{
|
||||
System.out.println(A./*c1*/foo());
|
||||
Runnable r = A/*c2*/::<String>foo;
|
||||
System.out.println(r);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user