Compiling RMI Applications ?

Per Bothner per@bothner.com
Thu Oct 14 22:31:00 GMT 1999


Matt Welsh <mdw@cs.berkeley.edu> writes:

> Another problem you will run into is that GCJ does not yet support
> dynamic class loading,

It doesn't?  I thought that was part of the point of the interpreter
that Kresten Krab Thorup did.  While I haven't had time to test it,
the ClassLoader code seems to be there.

> I'm wondering what the status of dynamic class loading in GCJ is. Is
> anyone working on this? How hard would it be to compile .class files to
> shared objects (.so) and have "System.loadClass()" look for a .so and
> load that into the address space of the process? The tricky bits would 
> be resolving class constants and so forth, but it should be possible.

That is certainly an approach worth exploring, but I would concentrate
on the interpreter-based ClassLoader for now.
-- 
	--Per Bothner
bothner@pacbell.net  per@bothner.com   http://www.bothner.com/~per/


More information about the Java mailing list