Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
JRuby 9k-pre2 throws IOError when reading from $stdin #2959
When using a background thread that blocks until input is read via
the thread encounters an IOError, declaring that the handle is invalid. The error itself seems to be raised within RubyIO.java (line 2203), as shown in the logging output below:
Links to relevant code where this occurs can be found here:
For reference, the output from jruby -v produces (formatted for readability):
Note: this should be 1.8.0_45; I am away from my main development environment at the moment, but the problem persists on 1.8.0_31 as well.