Fix jruby failure.