ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conor MacNeill" <co...@cortexebusiness.com.au>
Subject Re: Fixing Classloader Linking Errors
Date Mon, 07 May 2001 14:23:15 GMT
Stephane,

----- Original Message -----
From: "Stephane Bailliez" <sbailliez@imediation.com>
> As you guessed, this is due to the fact that you cannot load twice the
same
> class with different classloaders in the same JVM, this is to prevent
some
> malicious hacking by replacing classes.

Just a minor point but that is not strictly correct. You can load the same
class into one JVM through two different loaders - you just have to be
careful about the loader constraints. It is really the interaction of
classes across the loader boundaries that sets up these constraints and can
lead to Linkage errors. There is more information in a paper by Liang and
Bracha.

Conor




Mime
View raw message