On Wed, 2002-11-27 at 20:21, Ed Burns wrote: > [EMAIL PROTECTED] (Remus Stratulat) wrote in message >news:<[EMAIL PROTECTED]>... > > Hi, > > > > The application (witch embed the webclient) dies unexpectedly on an > > exception. Just try this: > > > > try { > > String s = new String(new byte[] {63, 64, 65, 66}, "ISO-2022-CN-CNS"); > > } catch (Exception e) { > > // stuff > > } > > > > put this code anywhere in your application, in a component that has no > > link to webclient, even in a different thread. The application will die. > > > > Anybody else found something like this? Is there something to do about > > this? > > > > Right now I moved this tests (for supported encodings) before I > > initialize the webclient, but this is not the solution as this may > > happen for other reasons too. > > I put this code in a program that doesn't even use webclient and there > was no error.
But this is exactly the problem. It dies *only* if you have a webclient embed in the app. Because of this I had to move this code before the webclient's init. I would not try to bother this list with java related stuff. > > I'm not able to test it with my webclient environment right now. What > is your platform and JDK version? I dont't thik this is important but I use j2sdk1.4.1_01 for Linux. I compiled the webclient with 1.3.1 (will not work otherwise) and mozilla with gcc-2.96. > > Ed -- /** * Remus Stratulat - KrysalIDE maintainer * InterAkt Online. * * @web http://www.interakt.ro */
