Re: Shoehorn brokennes for Moz (or in fact, anything b ut IE on windows)

Charles Goodwin <[email protected]>
Newsgroups gmane.comp.java.xwt.general
Message-ID <308906BE5D07D5119285009027D61C5722F634@NTFPS1>
Thanks for looking into this Emile, it needs fixing ASAP.

Adam, Sunday evening has been and gone... ;)

-----Original Message-----
From: Emiliano [mailto:[email protected]]
Sent: 22 March 2003 13:14
To: [email protected]
Subject: [xwt-dev] Shoehorn brokennes for Moz (or in fact, anything but
IE on windows)


OK, I looked into the Mozilla problem a bit... turns out the shoehorn is
simply incomplete. It's missing CAB.java. In loadFromURL(URL url, File
file, String s), it's doing:

if(url.toString().endsWith(".cab"))
  obj = CAB.getFileInputStream(((InputStream) (obj)), "xwt-" + build +
".exe");
else
  if(url.toString().endsWith(".gz"))
    obj = new GZIPInputStream(((InputStream) (obj)));

This should be a simple fix; you could either add CAB.class, or do a
class.forName in the if to do on-demand class loading (although I don't
see what it's use would be here).

Emile

_______________________________________________
http://lists.xwt.org/listinfo/dev
_______________________________________________
http://lists.xwt.org/listinfo/dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.