Skip to content

Instantly share code, notes, and snippets.

@headius
Last active Dec 22, 2015
Embed
What would you like to do?
diff --git a/core/src/main/java/org/jruby/RubyIO.java b/core/src/main/java/org/jruby/RubyIO.java
index 50691ce..7d3f94e 100644
--- a/core/src/main/java/org/jruby/RubyIO.java
+++ b/core/src/main/java/org/jruby/RubyIO.java
@@ -5214,6 +5214,10 @@ public class RubyIO extends RubyObject implements IOEncodable {
@Override
public void setEcopts(IRubyObject ecopts) {
+ if (ecopts == null) {
+ System.err.println("NULL ECOPTS DETECTED");
+ Thread.dumpStack();
+ }
this.ecopts = ecopts;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment