http://stackoverflow.com/questions/3859305/problems-using-rhino-on-android
I finally got it to work. I should have paid more close attention to that blog post I linked.
If I add the line
cx.setOptimizationLevel(-1);
to disable optimisations, everything works perfectly.
'Programming' 카테고리의 다른 글
LiScript: Fully-featured, blazingly-fast language that compiles to beautiful, hand-made-like JavaScript. Implemented in less than 100 lines. (0) | 2013.03.21 |
---|---|
Running javascript from Eclipse (0) | 2013.03.15 |
(Windows) How to read input from console in a batch file? (0) | 2013.03.14 |
(Java) Java Scripting Programmer's Guide (0) | 2013.03.13 |
(Clojure) Creating an empty string array (0) | 2013.03.06 |