Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Skip non-Hash inprocessExecOptions.
Browse files Browse the repository at this point in the history
BanzaiMan committed Sep 5, 2013
1 parent 1e4e808 commit b011220
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion core/src/main/java/org/jruby/RubyIO.java
Original file line number Diff line number Diff line change
@@ -4923,7 +4923,9 @@ private static void checkValidOptions(IRubyObject options, Set<String> valid) {
}

public static void processExecOptions(Ruby runtime, IRubyObject options) {
assert options instanceof RubyHash;
if (!(options instanceof RubyHash)) {
return;
}

RubyHash opts = (RubyHash) options;

0 comments on commit b011220

Please sign in to comment.