ant-user mailing list archives

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

----- Original Message -----
From: "Stephane Bailliez" <>
> As you guessed, this is due to the fact that you cannot load twice the
> class with different classloaders in the same JVM, this is to prevent
> 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


View raw message