Rough testcase for https://github.com/jruby/jruby/issues/1280 .