Re: [tcljava-dev] [PATCH] Fix for Problem with loading package inside namespace
Brought to you by:
mdejong
From: Shawn B. <sh...@bo...> - 2002-04-17 02:05:06
|
Great. You can close the bugs I opened #541613 and 541612 On Fri, 2002-04-12 at 09:07, Mo DeJong wrote: > On Tue, 09 Apr 2002 10:59:13 -0400 > Shawn Boyce <sh...@qc...> wrote: > > > I took a look at the Tcl sources and Jacl sources. > > The Tcl code invokes Tcl_GlobalEval to evaluate package > > scripts. The Jacl code invokes Interp.eval with the GLOBAL_ONLY > > flag. However this flag is essentially ignored down inside of eval/eval2 > > To get the same type of functionality as Tcl_GlobalEval, the > > EVAL_GLOBAL flag must be set. This fixes the problem. > > > > The one-line patch is attached. > > Ugh, you found quite a nasty bug there. I poked around and found a > couple of additional places where this error shows up. I just checked > in a patch that fixes them all. Thanks for looking into this. > > Mo > > _______________________________________________ > tcljava-dev mailing list > tcl...@li... > https://lists.sourceforge.net/lists/listinfo/tcljava-dev |