Just Launched: You can now import projects and releases from Google Code onto SourceForge
We are excited to release new functionality to enable a 1-click import from Google Code onto the Allura platform on SourceForge. You can import tickets, wikis, source, releases, and more with a few simple steps. Read More
On Mon, Mar 25, 2002 at 04:23:04PM +0100, Matthias Ernst wrote:
> bsh's ClassManager seems to cache Class objects over multiple
> Interpreters, probably through some static. I have bsh-1.2b5.jar in the
> lib/apps directory of Tomcat, which is a classloader shared by all
> Multiple webapps each instantiate their own Interpreter and source a
> file that refers to a class object via 'ClassName.class'. This class
> should be loaded through the respective web-app specific classloader
> from webapp/WEB-INF/lib/.
Hi. Yes, this is a problem.
Bsh does use the context classloader, but the static caching defeats that.
BeanShell's class manager was always intended to be a per-interpreter item.
There is just some cleanup to be done to change it over.
It will be fixed in an upcoming release.