From: <bor...@ko...> - 2004-03-15 16:37:03
|
Hi, I'd like to put 1 vote on that particular change=2E I already have the nee= d to patch JScheme and remove the assignment of the classloader to the thread's context in my NetBeans plugin development (the IDE manages thread= s and class loading its own way and gets completely confused by what Import does)=2E=20 Best, Boris Original Message: ----------------- From: Toby Allsopp toby=2Eallsopp@peace=2Ecom Date: Mon, 15 Mar 2004 08:04:03 +1300 To: jscheme-user@lists=2Esourceforge=2Enet Subject: Re: [Jscheme-user] Re: Multiple independent interpreters On Fri, Mar 12, 2004 at 02:11:17PM -0500, Jonathan A Rees wrote: >=20 > Each interpreter instance potentially also needs its own class loader > (for use by scheme code, not by jscheme itself)=2E Don't forget to > provide a way to set it in a newly created instance=2E Yes, I was just looking at the class loader stuff in jsint=2EImport, and that will need attention for any serious J2EE use, and probably any serious use embedded in a larger application=2E The current behaviour is to set the current thread's context class loader to the class loader that loaded jsint=2EImport when jsint=2EImport = is initialised, then always use the class loader that loaded jsint=2EImport=2E= I propose that better behaviour is to never change the context class loader and to use either a user-specified class loader or, if none has been specified, the current thread's context class loader=2E > I'm really glad that multiple interpreter instances is being > discussed=2E The demand for this is an inevitable consequence of the > project's success=2E Soon you may find two applications that both use > jscheme, that need to interoperate in the same Java VM, and neither > even *knows* that the other is using jscheme, and this is as it should > be=2E I absolutely agree=2E Toby=2E ------------------------------------------------------- This SF=2ENet email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies=2E Learn everything from fundamentals to system administration=2Ehttp://ads=2Eosdn=2Ecom/?ad_id=3D1470&alloc_id=3D3638&op=3D= click _______________________________________________ Jscheme-user mailing list Jscheme-user@lists=2Esourceforge=2Enet https://lists=2Esourceforge=2Enet/lists/listinfo/jscheme-user -------------------------------------------------------------------- mail2web - Check your email from the web at http://mail2web=2Ecom/ =2E |