You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using a background thread that blocks until input is read via
$stdin.gets.chomp
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:
Terminal started
term> Process #<Terminal:0x6a927603> encountered unhandled error: The handle is invalid (IOError)
gets at org/jruby/RubyIO.java:2203
read at /Users/petrilloj/Desktop/github/lagrange/lib/term.rb:48
cycle at /Users/petrilloj/Desktop/github/lagrange/lib/term.rb:86
run at /Users/petrilloj/Desktop/github/lagrange/lib/thread/process.rb:64
Terminal closed
Links to relevant code where this occurs can be found here:
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:
java.lang.runnable
: process.rb:64For 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.
The text was updated successfully, but these errors were encountered: