On Freitag 16 Dezember 2005 15:16, Stephan Bergmann wrote: > The above mechanism is unreliable and should not be used: > ClassLoader.getResource "will first search the parent class loader for > the resource" (see the Sun Java documentation), so if some parent class > loader happens to find another file coincidentially also named > some-file-in-my.jar you get a wrong result.
I think the chance that a file named "/de/danielnaber/languagetool/openoffice/Main.class" is also part of some other .jar is sufficiently small so I can ignore it :-) So thanks for that tip, it works well. Regards Daniel -- http://www.danielnaber.de --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
