Related with my immediately previous question (generate static methods at 
runtime<https://groups.google.com/forum/?fromgroups=#!topic/clojure/Hu-oOlSccPc>),
 
but not the same.

There's a Java lib which I import and run from a Clojure repl. In that 
repl, if I perform e.g. (defrecord Foo []), then I can succesfully run 
(Class/forName 
"user.Foo").

But if then the Java code gets to execute Class.forName("user.Foo"); it 
will complain that it can't find the class.

I guess that somehow the Java library uses a different classloader or 
something like that? Any possible solution?

Thanks - Victor

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to