aris
#1
Hi,
we’ve updated jruby from 1.5.8 to 1.6.8 and now global variables are
shared over all evaluations.
To ensure that our scripts have to side-effects we want to enabled the
old behavior.
Does anybody know the settings we should use?
Thanks
Markus
albundy
#2
It seems that setting the local context scope to threadsafe ensures that
each evaluation started from java will have a new context.
https://github.com/jruby/jruby/wiki/RedBridge#wiki-ThreadSafe
Markus