StringIO is not required by default in JRuby
Merge pull request #9871 from arunagw/stringio-require-jruby

StringIO is not required by default in JRuby