Skip to content

Commit 716ca67

Browse files
committed
moved LOADER init to prevent static init exceptions
1 parent 5f1e6ed commit 716ca67

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/jvm/clojure/lang/Compiler.java

+3-2
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,9 @@ public class Compiler implements Opcodes{
177177
//null or not
178178
static final public Var IN_CATCH_FINALLY = Var.create(null);
179179

180+
//DynamicClassLoader
181+
static final public Var LOADER = Var.create();
182+
180183
//String
181184
static final public Var SOURCE = Var.intern(Namespace.findOrCreate(Symbol.create("clojure.core")),
182185
Symbol.create("*source-path*"), "NO_SOURCE_FILE");
@@ -205,8 +208,6 @@ public class Compiler implements Opcodes{
205208
//Integer
206209
static final public Var RET_LOCAL_NUM = Var.create();
207210

208-
//DynamicClassLoader
209-
static final public Var LOADER = Var.create();
210211

211212
public enum C{
212213
STATEMENT, //value ignored

0 commit comments

Comments
 (0)