Spec Compatibility for JRuby 1.9