Shoehorn brokennes for Moz (or in fact, anything but IE on windows)

Emiliano <[email protected]>
Newsgroups gmane.comp.java.xwt.general
Message-ID <[email protected]>
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
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.