copy classes: ensure refs are updated one after another (IDEA-141658)

This commit is contained in:
Anna Kozlova
2015-06-24 20:25:22 +03:00
parent a07060a8b9
commit 0ebc041076
4 changed files with 29 additions and 5 deletions
@@ -0,0 +1,8 @@
public class Foo {
private static final int INITIALIZED_CONST = 0;
private static int initializedStaticField = 0;
static {
System.out.println(Foo.INITIALIZED_CONST);
System.out.println(Foo.initializedStaticField);
}
}