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