[BUGFIX] Fallback fix on JRuby