[CS] Cleaner skipping of features sensitive to JRuby