coolness
Tom Tromey
tromey@cygnus.com
Fri Mar 12 01:45:00 GMT 1999
>>>>> "Jeff" == Jeff Sturm <jsturm@sigma6.com> writes:
Jeff> What needs to work in gcj is Class.forName("...") which is
Jeff> scattered all over in most java code, including the Sun java.*
Jeff> classes, and most JDBC programs (consider how JDBC drivers are
Jeff> loaded dynamically).
When you write this, do you mean that it is a common idiom to pass a
constant string to Class.forName()? (I'm afraid most of the Java code
I've read is code written here.)
Jeff> So gcj either needs some way to statically link together all the
Jeff> classes it will eventually need, whether or not they are
Jeff> initially referenced, or dynamic loading via dlopen/dlsym/etc.
Jeff> (Obviously dynamic loading is preferred...)
I agree we need to do this. I just don't think it will be in the
initial release. Implementing dynamic loading should be pretty easy;
we just don't have the time.
Tom
More information about the Java
mailing list