[2070] in java-interest

home help back first fref pref prev next nref lref last post

WWWClassLoader problems (mobile objects)

daemon@ATHENA.MIT.EDU (Chanda Dharap)
Fri Sep 22 17:33:09 1995

Date: Fri, 22 Sep 95 11:28:57 PDT
From: chanda@PRPA.Philips.COM (Chanda Dharap)
To: java-interest@java.sun.com


Hi,

I'm trying sample code to load a class from InputStream.
Following a couple of postings on this mailing list I tried using the 
WWWClassLoader definitions.

- If I understand correctly loadClass(InputStream is) is defined in
WWWClassLoader.java.  
- This reads the input buffer and calls defineClass(...)
- defineClass does resolution and further "native" stuff which I assume
is generating the tree and checking for violations etc..

1) Have I understood this correctly ? So if the referenced classes are
also on remote machines I have to make sure they are all loaded
before the current one, by explicitly calling loadClass ??

2) I'm having other problems with WWWClassLoader. However, before
posting any questions I wonder if anyone has saved a copy of Chuck
McManis's "Secrets of the ClassLoader" ? Or any other pointer to
information that may be useful in understanding this buisness..

thanx.. this mailing list has already been most helpful !

- Chanda Dharap
----------------
email: chanda@prpa.philips.com


-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post