patches to re-direct _Jv_RegisterClass

Tom Tromey tromey@redhat.com
Fri Jul 6 12:10:00 GMT 2001


>>>>> "Per" == Per Bothner <per@bothner.com> writes:

Per> You basically have two sensible choices for each .so:

Per> (1) Symbols have global visibility; classes are managed by the
Per> system ClassLoader; library either specified at link time with -l
Per> or at runtime at dlopen *with* RTLD_GLOBAL set.

Per> (2) Symbols are only visible with a shared library; classes are
Per> managed by a SharedLibLoader and are only visible by going
Per> through that ClassLoader; library linked at runtime at dlopen
Per> *without* RTLD_GLOBAL set.

So if I understand correctly this means that it makes sense for us to
have both .so loading built in to the system class loader as well as a
SharedLibLoader.  In that case I think we'd definitely want your
SharedLibLoader code.

Tom



More information about the Java-patches mailing list