JRuby fix #4