File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
espresso/src/com.oracle.truffle.espresso/src/com/oracle/truffle/espresso/impl Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -158,9 +158,9 @@ public final class ObjectKlass extends Klass {
158
158
public static final int LINKING = 1 ;
159
159
public static final int PREPARED = 2 ;
160
160
public static final int LINKED = 3 ;
161
+ public static final int INITIALIZING = 4 ;
161
162
// Can be erroneous only if initialization triggered !
162
- public static final int ERRONEOUS = 4 ;
163
- public static final int INITIALIZING = 5 ;
163
+ public static final int ERRONEOUS = 5 ;
164
164
public static final int INITIALIZED = 6 ;
165
165
166
166
private final StaticObject definingClassLoader ;
@@ -378,7 +378,7 @@ boolean isInitializingOrInitializedImpl() {
378
378
* case, if the state is INITIALIZING we cannot really check the lock because an object
379
379
* might have been leaked to another thread by the clinit.
380
380
*/
381
- return initState >= ERRONEOUS ;
381
+ return initState >= INITIALIZING ;
382
382
}
383
383
384
384
boolean isInitializedImpl () {
You can’t perform that action at this time.
0 commit comments