INSTANCE field deprecated in companion object

Fix for KT-9692: Deadlock between <clinit> of a class (KtSimpleNameExpressionImpl) and <clinit> of its companion object

 #KT-9692 Fixed
This commit is contained in:
Michael Bogdanov
2015-10-23 12:27:41 +03:00
parent 7927185cc7
commit 18f3eb87e4
13 changed files with 120 additions and 26 deletions
@@ -7,6 +7,9 @@ public final class C {
public C() { /* compiled code */ }
public static final class Companion {
/**
* @deprecated
*/
public static final C.Companion INSTANCE;
private Companion() { /* compiled code */ }