|
From: | Archie Cobbs |
Subject: | Re: [cp-patches] Some VMStackWalker cleanups/simplifications |
Date: | Sun, 16 Jan 2005 11:58:36 -0600 |
User-agent: | Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.3) Gecko/20041129 |
Mark Wielaard wrote:
Here are a couple of cleanups/simplifications for the new VMStackWalker. It fixes a nasty recursion in Class.getClassLoader() and it adds the Class that is interested in the actual calling class or classloader as argument to the VMStackWalker methods. This way it is much easier to generically check for skipping this class and the Method.invoke() call on the stack without depending on the actual stack depth.
Looks good. Thanks for fixing the recursion bug, which I accidentally added (my apologies!). I should have used VMClass.getClassLoader() instead. -Archie __________________________________________________________________________ Archie Cobbs * CTO, Awarix * http://www.awarix.com
[Prev in Thread] | Current Thread | [Next in Thread] |