String os_version = System.getProperty("os.version", "");
String platform_class = null;
- if (os_name.startsWith("Darwin")) platform_class = "Carbon";
+ if (os_name.startsWith("Darwin")) platform_class = "Darwin";
else if (vendor.startsWith("Free Software Foundation")) {
if (os_name.startsWith("Window")) platform_class = "Win32";
else platform_class = "X11";
/** 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;