java.lang.RuntimeException: java.lang.SecurityException: Prohibited
package name: java (NO_SOURCE_FILE:0)
Since this also comes up when I try to switch out of the java namespace
to anything else, I can't run any commands. Is there any way to fix this
problem without quitting out of the REPL and running it again?
And going forward, is this something that Clojure should guard against
(e.g., not allow)? Of course, I'm pretty new to Clojure, so please let
me know if there's something very simple I'm not seeing.
Thanks,
Chris
java=> (clojure/ns clojure)
java.lang.RuntimeException: java.lang.SecurityException: Prohibited
package name: java (NO_SOURCE_FILE:0)
The only way I can get the REPL to return a different message is in the
case of syntax errors or calling classes that don't exist (here I'm on
the old build):
java=> (clojure.core/ns clojure)
java.lang.ClassNotFoundException: clojure.core (NO_SOURCE_FILE:98)
Any other ideas?
Stuart Halloway wrote:
> (clojure.core/ns clojure)
>
> or if you are on an old build I think it would be
>
> (clojure/ns clojure)
>
>
--
Chris Bunch
PhD Student
University of California, Santa Barbara
-- Chris Bunch PhD Student University of California, Santa Barbara c...@cs.ucsb.edu
Am 13.11.2008 um 20:40 schrieb Chris Bunch:
> Hmm, that didn't work for me. That gives the same output as before:
See also this thread.
Sincerely
Meikel
It works in r1098:
user=> (in-ns 'java)
#<Namespace java>
java=> (clojure.core/in-ns 'user)
#<Namespace user>
user=> (in-ns 'java)
#<Namespace java>
java=> (in-ns 'user)
#<Namespace user>
--
Michael Wood <esio...@gmail.com>