This is the mail archive of the java-discuss@sourceware.cygnus.com 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]

Re: Dynamic class loading


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

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