mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 03:13:40 +07:00
allow refs to constants from inner classes in explicit constructor invocation: http://docs.oracle.com/javase/specs/jls/se7/html/jls-8.html#jls-8.8.7.1 (IDEA-99980)
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
class Test {
|
||||
public Test() {
|
||||
this(Const.CONST);
|
||||
}
|
||||
|
||||
public Test(int l) {}
|
||||
|
||||
private class Const {
|
||||
private static final int CONST = 42;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user