fixes jruby-jsvc/6