This is the mail archive of the
java-discuss@sourceware.cygnus.com
mailing list for the Java project.
Re: Dynamic class loading
- To: Godmar Back <gback at cs dot utah dot edu>
- Subject: Re: Dynamic class loading
- From: Tom Tromey <tromey at cygnus dot com>
- Date: Tue, 15 Feb 2000 20:26:19 -0800 (PST)
- Cc: tromey at cygnus dot com (Tom Tromey), krab at daimi dot au dot dk (Kresten Krab Thorup), mdw at cs dot berkeley dot edu (Matt Welsh), bryce at albatross dot co dot nz (Bryce McKinlay), java-discuss at sourceware dot cygnus dot com
- References: <200002160409.UAA16870@ferrule.cygnus.com><200002160418.VAA29755@faith.cs.utah.edu>
Godmar> Could you summarize in a paragraph or two what the current
Godmar> algorithm is?
Sure.
Suppose you are looking for a class quux.foo.bar.
The system class loader will first look for a .so named quux-foo-bar.so.
If that fails (either not found, or doesn't provide the class), it
will look for quux-foo.so.
Then it will look for quux.so.
If none of that works it will search for a .class file using
CLASSPATH.
Tom