move: ensure encoding is done before any change so mutual references are processed correctly (IDEA-157066)

This commit is contained in:
Anna Kozlova
2016-06-03 19:06:10 +03:00
parent 130abb0e05
commit f496c7f0f5
14 changed files with 47 additions and 1 deletions
@@ -0,0 +1,2 @@
package p2;
public class First {}
@@ -0,0 +1,4 @@
package p2;
public class Test {
public static void f() {}
}
@@ -0,0 +1,2 @@
package p3;
public class First extends p2.First {}
@@ -0,0 +1,10 @@
package p3;
import p2.*;
class Second {
{
new First();
Test.f();
}
}
@@ -0,0 +1,2 @@
package p1;
public class First extends p2.First {}
@@ -0,0 +1,10 @@
package p1;
import p2.*;
class Second {
{
new First();
Test.f();
}
}
@@ -0,0 +1,2 @@
package p2;
public class First {}
@@ -0,0 +1,4 @@
package p2;
public class Test {
public static void f() {}
}