security providers and ...

Jeff Sturm jsturm@one-point.com
Wed Jul 10 12:14:00 GMT 2002


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


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /