Use plain :buffer instead of :buffer_inout for jruby.