mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-10 13:17:09 +07:00
workaround for overload resolution for methods from Object when project has multiple jdks (IDEA-135422)
This commit is contained in:
+1
@@ -1,6 +1,7 @@
|
||||
class Test {
|
||||
void foo() {
|
||||
<caret>Runnable runnable = new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
// This is comment"
|
||||
int i = 1;
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
package p;
|
||||
abstract class B extends A implements p.P {
|
||||
{
|
||||
final Class<? extends B> aClass = getClass();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
package p;
|
||||
public abstract class A implements p.P {
|
||||
{
|
||||
final Class aClass = getClass();
|
||||
}
|
||||
}
|
||||
Binary file not shown.
Reference in New Issue
Block a user