mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-18 17:20:54 +07:00
13 lines
269 B
Java
13 lines
269 B
Java
// "Move 'condition' into anonymous object" "true-preview"
|
|
class Test {
|
|
public void test() {
|
|
var ref = new Object() {
|
|
Object condition;
|
|
};
|
|
Runnable r = () -> {
|
|
ref.condition = new Object();
|
|
ref.condition.hashCode();
|
|
};
|
|
}
|
|
}
|