summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRich Hickey <richhickey@gmail.com>2008-07-30 13:19:41 +0000
committerRich Hickey <richhickey@gmail.com>2008-07-30 13:19:41 +0000
commitb80959020dcc348f1288050fc507902f1385d5c4 (patch)
tree192f1ee34761bf729fabe46e782d74879941ff53 /src
parentd59defe96831815c8d82f872c90ac14d75249a7f (diff)
switched to using / in loadResourceScript call in generated static init
Diffstat (limited to 'src')
-rw-r--r--src/clj/clojure/genclass.clj2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clj/clojure/genclass.clj b/src/clj/clojure/genclass.clj
index 946404dd..7648e762 100644
--- a/src/clj/clojure/genclass.clj
+++ b/src/clj/clojure/genclass.clj
@@ -281,7 +281,7 @@
(. gen putStatic ctype (var-name v) var-type))
(. gen push ctype)
- (. gen push (str (. name replace \. (. java.io.File separatorChar)) ".clj"))
+ (. gen push (str (. name replace \. \/) ".clj"))
(. gen (invokeStatic rt-type (. Method (getMethod "void loadResourceScript(Class,String)"))))
(. gen (returnValue))