spec/: Added JRuby guards.