From: megacz Date: Fri, 30 Jan 2004 07:15:32 +0000 (+0000) Subject: 2003/09/12 01:23:02 X-Git-Tag: RC3~639 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;ds=sidebyside;h=ec7cc30e6ed3955adabba46e519ebd1d6fd281bb;p=org.ibex.core.git 2003/09/12 01:23:02 darcs-hash:20040130071532-2ba56-8d37b013931ebd551bf7490acca9e6b6cf4def09.gz --- diff --git a/src/org/xwt/Platform.java b/src/org/xwt/Platform.java index 78b5e16..fcdc9d9 100644 --- a/src/org/xwt/Platform.java +++ b/src/org/xwt/Platform.java @@ -212,10 +212,10 @@ public class Platform { /** returns an InputStream to the builtin xwar */ protected InputStream _getBuiltinInputStream() { try { - Class c = Class.forName("org.xwt.Builtin"); - Field f = c.getField("encoded"); - Object o = f.get(null); - return new ByteArrayInputStream(org.bouncycastle.util.encoders.Base64.decode((String)o)); + return new FileInputStream("builtin.xwar"); + /* + return new ByteArrayInputStream(org.bouncycastle.util.encoders.Base64.decode(org.xwt.Builtin.encoded)); + */ } catch (Exception e) { Log.log(this, e); return null;