Reported by arohner, Jan 31, 2009
Describe the feature/change.
clojure.main should not exit if there was an exception in an --init file
and the user requested a repl. i.e.
java -cp clojure.jar clojure.main --init file-with-errors.clj -r
should not exit. Having a repl is useful to read doc strings and experiment
with fixes for the problem.
Was this discussed on the group? If so, please provide a link to the
The attached patch adds a try/catch around the init method for the repl in
clojure.main. It does not change the behavior for the case where the user
specifies a file to run rather than a repl.
Comment 1 by richhickey, Feb 09, 2009
patch applied - svn 1258 - thanks!