This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: CNI changes (Was: Binary Compatibility)


>>>>> "Anthony" == Anthony Green <green@redhat.com> writes:

Anthony> Are there any other CNI changes we should make at this same
Anthony> time?

Something that came up on irc tonight is letting libgcj.so be
dlopen()d without RTLD_GLOBAL.  Currently Mozilla does this.

We could support this with the new ABI.  First we would have to have a
function vector like JNI does, both for exported CNI functions, and
for functions to which gcj generates direct calls.  The latter (and
perhaps the former) could just be part of the class' otable.

Second, I think we'd have to arrange to look up _Jv_RegisterClasses
explicitly, using dlsym(), before registering classes from a .so.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]