On Oct 31, 2:57 pm, André Thieme <[EMAIL PROTECTED]> wrote: > I get a funny result when I say (in-ns 'java), on the repl. > I can’t switch back, as in (in-ns 'user).
So don't do that. :) Seriously, though, it looks like the Java runtime restricts the "java" package. Clojure namespaces are (more or less) Java packages, which is probably the source of the problem. So... don't do that. user=> (in-ns 'java) #=(find-ns java) java=> (in-ns 'user) java.lang.RuntimeException: java.lang.SecurityException: Prohibited package name: java (NO_SOURCE_FILE:0) user=> (in-ns 'java.lang) #=(find-ns java.lang) java.lang=> (in-ns 'user) java.lang.RuntimeException: java.lang.SecurityException: Prohibited package name: java.lang (NO_SOURCE_FILE:0) -Stuart Sierra --~--~---------~--~----~------------~-------~--~----~ 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 To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---