JRuby 2.0 mode support