platform/shared/rubyJVM/src/com/xruby/runtime/builtin/RubyIOPipeSinkExecutor.java in rhodes-1.4.2 vs platform/shared/rubyJVM/src/com/xruby/runtime/builtin/RubyIOPipeSinkExecutor.java in rhodes-1.5.0
- old
+ new
@@ -4,10 +4,12 @@
*/
package com.xruby.runtime.builtin;
import java.io.IOException;
+import java.io.InputStream;
+
import j2me.nio.ByteBuffer;
import j2me.nio.channels.Pipe.SinkChannel;
import com.xruby.runtime.lang.RubyException;
import com.xruby.runtime.lang.RubyRuntime;
@@ -27,9 +29,14 @@
} catch (IOException e) {
throw new RubyException(RubyRuntime.IOErrorClass, e.toString());
}
}
+ public InputStream getInputStream()
+ {
+ return null;
+ }
+
public boolean eof() {
throw notAllowed();
}
private RubyException notAllowed() {