Support jruby 1.9 mode