Here's what the patch looks like for openjdk-6 with the latest master,
where the mozilla-specific lines have moved to the rhino.js file:

diff --git a/src/clj/cljs/repl/rhino.clj b/src/clj/cljs/repl/rhino.clj
index cbe4f2a..15c5bf1 100644
--- a/src/clj/cljs/repl/rhino.clj
+++ b/src/clj/cljs/repl/rhino.clj
@@ -27,6 +27,7 @@ goog.require = function(rule)
{Packages.clojure.lang.RT[\"var\"
           linenum (or line Integer/MIN_VALUE)
           ctx (sun.org.mozilla.javascript.Context/enter)]
       (try
+        (.setOptimizationLevel ctx -1)
         {:status :success
          :value (.evaluateString ctx (:global repl-env) js filename
linenum nil
         (finally

This works for me on openjdk6, but will not work on openjdk7 because
it doesn't ship with Rhino.  For openjdk7, it looks like a separate
version of Rhino needs to be downloaded.

On Oct 2, 4:36 pm, Stefan Kamphausen <ska2...@googlemail.com> wrote:
> Hi,
>
> I hope, people are aware that Oracle considers OpenJDK to be the standard
> choice for Linux users now and removed the special distributor's license.  
> Seehttp://robilad.livejournal.com/90792.html
>
> Kind regards,
> Stefan

-- 
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

Reply via email to