Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/java/org/jruby/util/io/OpenFile.java
Original file line number Diff line number Diff line change
@@ -2677,7 +2677,7 @@ public void interruptBlockingThreads(ThreadContext context) {
if (thread == context.getThread()) continue;

// raise will also wake the thread from selection
RubyException exception = (RubyException) runtime.getIOError().newInstance(context, runtime.newString("stream closed"), Block.NULL_BLOCK);
RubyException exception = (RubyException) runtime.getIOError().newInstance(context, runtime.newString("stream closed in another thread"), Block.NULL_BLOCK);
thread.raise(Helpers.arrayOf(exception), Block.NULL_BLOCK);
}
}

0 comments on commit 94af48f

Please sign in to comment.