JRUBY-6988 and possibly others