Andrew Haley wrote:
> How, exactly? I see horrors like
[...]
> public static ClassLoader getCallingClassLoader()
> {
> Class[] ctx = getClassContext();
> if (ctx.length < 3)
> return null;
> return getClassLoader(ctx[2]);
> }
>
> in several places.Huh? The code you quoted is from VMStackWalker, you know the class that you are supposed to replace in your VM with a more efficient version. Regards, Jeroen

