ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Object retention problem with javac
Date Fri, 19 Jan 2001 12:47:25 GMT
Nick Reeves <Nick.Reeves@gtl.com> wrote:

> Solution proposed: run calls to javac inside their own ClassLoader

I'm not sure this would work and not cause a load of classloader
problems (ClassCastExceptions you usually get for classes loaded via
different loaders) but sure worth a try.

A start would be to modify one of the Javac?? classes in the
.../taskdefs/compilers directory to load the compiler class via an
AntClassLoader instance. Could you give it a try and report back to
us?

Stefan

Mime
View raw message