This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: security providers and ...
- From: Jeff Sturm <jsturm at one-point dot com>
- To: Vladimir Puskas <vpuskas at eunet dot yu>
- Cc: tromey at redhat dot com, <java at gcc dot gnu dot org>
- Date: Wed, 10 Jul 2002 15:13:56 -0400 (EDT)
- Subject: 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