remove JS.call(JS[]), JS.getInputStream()
[org.ibex.core.git] / src / org / ibex / graphics / Picture.java
index 0a92677..c8b5895 100644 (file)
@@ -49,8 +49,8 @@ public class Picture {
             new java.lang.Thread() { public void run() {
                 InputStream in = null;
                 try {
-                    in = b == null ? stream.getInputStream() : b.getImage();
-                } catch (IOException e) { Log.error(Picture.class, e);
+                    in = b == null ? JSU.getInputStream(stream) : b.getImage();
+                //} catch (IOException e) { Log.error(Picture.class, e);
                 } catch (JSExn e) { Log.error(Picture.class, e);
                 }
                 if (in == null) { Log.warn(Picture.class, "couldn't load image for stream " + stream.unclone()); return; }