Consider using the JSR-223 ScriptEngine shipped with Jython
Closed this issue · 4 comments
Right now, this component provides its own JSR-223 ScriptEngine, which has pros and cons compared to the one shipped with Jython. IIRC, I tried Jython's built-in ScriptEngine but it had blocking issues. However, in conjunction with #3 (i.e., once we have updated to Jython 2.7.0), we can try again. It would be simpler to avoid our own implementation, which behaves differently from the official implementation. (For example: I am guessing 2a4d4dc would not have been necessary were we using the built-in ScriptEngine.)
This issue was originally blocked due to a bug in the jython script engine.
It looks like this has been resolved and we can migrate as soon as we update to Java 7.
@ctrueden fyi using the JSR-223 engine had no effect on http://fiji.sc/bugzilla/show_bug.cgi?id=1203. That bug required a different approach