probably fixes https://github.com/jruby/jruby/issues/1975
[skip ci]