This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: solib: URL patch
- From: Tom Tromey <tromey at redhat dot com>
- To: Jeff Sturm <jsturm at one-point dot com>
- Cc: Andrew Haley <aph at redhat dot com>, GCJ mailing list <java at gcc dot gnu dot org>
- Date: 13 Aug 2003 11:51:13 -0600
- Subject: Re: solib: URL patch
- References: <Pine.LNX.4.44.0308131242340.1363-100000@ops2.one-point.com>
- Reply-to: tromey at redhat dot com
>>>>> "Jeff" == Jeff Sturm <jsturm@one-point.com> writes:
Jeff> Does there need to be any CNI mechanism for this? Or is Java's
Jeff> Class.forName() etc. adequate to load/invoke the solib?
Yeah, the thing is that you want to be able to write CNI code that
calls methods in java.lang, etc. Binary compatibility is less useful
if you have to recompile all your CNI code when you upgrade.
Jeff> For my 2 cents, I like this patch a lot. My only nit is that the name
Jeff> "solib:" is a bit peculiar. It refers to the defacto suffix naming of
Jeff> shared libraries on ELF targets (which are quite common now, I admit).
Jeff> I'd marginally prefer "sharedlib:" over "solib:".
Yeah, good point. Maybe we should put `gcj' in there somewhere, to
emphasize its non-portability...?
Tom