From: Samuele P. <ped...@bl...> - 2001-11-10 17:06:58
|
> [John Goerzen] > > >Tried, still didn't help.. > > > >Of note: when I print the loader of ListBO from within Python, it says > >com.lutris.classloader.MultiClassLoader. When I print the loader of > >the superclass of ListBOFoo from within Java (that superclass is the > >same ListBO), it says sun.misc.Launcher$AppClassLoader! More and more > >puzzling. > > That is because the BytecodeLoaders happens to search the > SyspathJavaLoader before searching the referent class loaders. It's a > bug. No, I would'nt say it is a bug. The problem is that the guilty class is loadable both by MultiClassLoader and probably from classpath. In those cases it is better if the user dis-entangle that, because , yes we can with good-will, change the order, but the only safe solution is to avoid that at all. Without knowing the specific up to the details, I will not change the actual order. regards. |