platform/shared/rubyJVM/src/com/xruby/runtime/builtin/RubyIOFileExecutor.java in rhodes-1.4.2 vs platform/shared/rubyJVM/src/com/xruby/runtime/builtin/RubyIOFileExecutor.java in rhodes-1.5.0
- old
+ new
@@ -5,10 +5,12 @@
package com.xruby.runtime.builtin;
import j2me.io.FileNotFoundException;
import java.io.IOException;
+import java.io.InputStream;
+
import j2me.io.File;
import j2me.io.RandomAccessFile;
import com.xruby.runtime.lang.RubyConstant;
import com.xruby.runtime.lang.RubyException;
@@ -37,9 +39,14 @@
} else {
return mode;
}
}
+ public InputStream getInputStream()
+ {
+ return null;
+ }
+
private boolean open(String filename, String mode) {
AssertMe.rho_assert (null == file_);
File f = new File(filename);
long length = f.length();
try {