Dynamic class loading

Tom Tromey tromey@cygnus.com
Sat Apr 1 00:00:00 GMT 2000


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


More information about the Java mailing list

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