mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
More tests for this handling in javac
This commit is contained in:
+4
@@ -11,6 +11,10 @@ class Test {
|
||||
|
||||
private final IntFunction multiply = i -> i * Test.this.idx;
|
||||
|
||||
private final int idx3 = <error descr="Variable 'this.idx' might not have been initialized">this.idx</error> + 1;
|
||||
|
||||
private final IntFunction multiply2 = i -> i * <error descr="Variable 'this.idx' might not have been initialized">this.idx</error>;
|
||||
|
||||
public Test(int idx) {
|
||||
this.idx = idx;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user