Re: modules and sisc-initial-environment

"Scott G. Miller" <[email protected]> Thu, 1 Feb 2007 11:48:57 -0600
Newsgroups gmane.comp.java.sisc.user
Message-ID <[email protected]>
On Thu, Feb 01, 2007 at 03:08:18PM +0000, Norman Gray wrote:
> 
> Scott, hello.
> 
> On 2007 Feb 1 , at 14.31, Scott G. Miller wrote:
> 
> > Given the code you've posted, it seems that require-library may be
> > importing the code into the wrong environment.  If you execute the
> > eval-list code, does module m appear in the toplevel environment
> > instead?
> 
> Yes, it appears so.  The (require-library 'm) within the eval-list  
> makes module 'm' available for import at the top-level.  See below.
> 
> Aha!

I've tracked the bug down to eval, which compiles expressions in the 
custom environment, but doesn't execute them in that custom environment.  
Ordinarily that doesn't matter, since free references are compiled to 
point to the right env.  But for load, which defines into the current 
environment, it does.  I'm just verifying that the fix doesn't break 
anything, and then I'll check into the 1.16 branch.  

Scott

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642