Re: Callstack, preserving across method calls

Donald Gordon <[email protected]>
Newsgroups gmane.comp.java.beanshell.devel
Message-ID <[email protected]>
On 1/06/2004, at 5:46 AM, Pat wrote:
> I recall doing a lot of work at one point to try to make sure that 
> that didn't
> happen, at least in the general case...   Something must be amiss.  
> I'll have
> to take a look at it.

FWIW, method calls seemed to go from

BSHMethodInvocation.eval
Name.invokeMethod
Reflect.invoke*Method

which then decides that (since BeanShell now makes objects look like 
real Java objects, rather than instances of This) it should get a 
Method object, and use Java reflection to call that; this of course 
means that the CallStack object is not passed on to the BeanShell 
scripted method.

donald



-------------------------------------------------------
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite!  GUADEC: The world's #1 Open Source Desktop Event.
GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.