beanshell method redefinition changed

Daniel Wunsch <[email protected]> Fri, 1 Jul 2005 23:15:05 +0200
Newsgroups gmane.comp.java.beanshell.devel
Message-ID <[email protected]>
hi!

another thing i noticed using bsh-2.0b5.jar (and reported 
to bugs-1tM/[email protected]): BeanShells behaviour changed
in the way it handles a redefinition of a function with a 
single var arg.

before this version, the last definition won and overwrote
the first at the point it was seen by the parser. now, the
second function never makes it into visibility of the source,
when you call it you call the first version.

i consider the new behaviour to be a bug. do you agree?

did anybody get bitten by this, fixed the bug or
can tell me more about it?

daniel


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click