Hi Maciej,
You are right. I saw the org.jruby.embed.jsr223.JRubyEngine.
I cannot remember how many times I have mistakes like this by not reading post contents carefully. I am very sorry for that. Seems I should shut up and keep silent for a while. ;)
And at this time, EnvironmentBinding only allow script engine execute three methods, get, containsKey and put. And the method put did nothing. Other methods will always throw UnsupportedException. And it is very strangle, I think at this time, we could remove all of thrown exceptions, and just left these methods empty.
BTW, if Alejandro doesn't release jBPM-4.4 in this week, I want to start the works which Tom didn't finished yet on ScriptManager part.