This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: solib: URL patch
- From: Jeff Sturm <jsturm at one-point dot com>
- To: Andrew Haley <aph at redhat dot com>
- Cc: Tom Tromey <tromey at redhat dot com>, GCJ mailing list <java at gcc dot gnu dot org>
- Date: Wed, 13 Aug 2003 13:23:44 -0400 (EDT)
- Subject: Re: solib: URL patch
On Wed, 13 Aug 2003, Andrew Haley wrote:
> > Does there need to be any CNI mechanism for this? Or is Java's
> > Class.forName() etc. adequate to load/invoke the solib?
>
> I wouldn't have thought so, no. At present we have a direct way of
> invoking Java methods in a shared object from C++ code; do we want to
> destroy that ability?
>
> Unless, as was suggested, we alter the C++ compiler to use the
> indirect dispatch scheme...
I don't have a strong opinion. Indirect dispatch is probably less
important for CNI than Java code, but someone may have a good
reason for needing/wanting it.
> > I'd marginally prefer "sharedlib:" over "solib:".
>
> DSO is becoming the de facto name, AFIAA. "dso:" might be best of
> all.
That might be a little surprising to Windows users, but yes, I tend
to prefer dso: over solib: as well.
Jeff