This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: security providers and ...


On Tue, 9 Jul 2002, Vladimir Puskas wrote:
> My idea was to intercept Enhydra's classloader and prevent it loading a class,
> if class is already compiled and linked into binary. Classloader supports
> filtering which would perfectly match this task, but I couldn't find the
> method to do this.

That's the default behavior of ClassLoader.loadClass(), it searches
compiled classes before attempting to load bytecode.  Well-behaved
classloaders will delegate to the parent first, often the system
classloader, so you shouldn't have to do anything out of the ordinary.

Jeff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]