Problem with ClassLoader
Hi I have an application that I deploy in Webstart. And it works up to a point... In a legacy library that I cant modify, someone used ClassLoader.getSystemClassLoader and ClassLoader.getSystemResource.
These seem to return null.
Why? Does anyone know a workaround? Does webstart use a different classloader?
Thanks
[340 byte] By [
shelziba] at [2007-11-27 9:46:01]

# 1
Ok I know that Webstart uses a different class loader and that the solution is to use Thread.currentThread().getContextClassLoader().
However, I have no power over the legacy library that by the way is badly implemented.
Can i override the default ClassLoader so that ClassLoader.getSystemResource() uses a different ClassLoader than the dafault that obviously doesn't work?