J2K breaks code if applied to a java class with static field which is accessed from another java class
#KT-11587 Fixed
This commit is contained in:
@@ -4,7 +4,7 @@ class C {
|
||||
void foo(ClassWithStatics c) {
|
||||
ClassWithStatics.staticMethod(ClassWithStatics.staticField);
|
||||
c.instanceMethod();
|
||||
ClassWithStatics.staticField += 2;
|
||||
ClassWithStatics.staticNonFinalField += 2;
|
||||
}
|
||||
|
||||
void methodReferences() {
|
||||
|
||||
Reference in New Issue
Block a user