From ec7cc30e6ed3955adabba46e519ebd1d6fd281bb Mon Sep 17 00:00:00 2001 From: megacz Date: Fri, 30 Jan 2004 07:15:32 +0000 Subject: [PATCH] 2003/09/12 01:23:02 darcs-hash:20040130071532-2ba56-8d37b013931ebd551bf7490acca9e6b6cf4def09.gz --- src/org/xwt/Platform.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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; -- 1.7.10.4