solib: URL patch
Wed Aug 13 17:23:00 GMT 2003
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
That might be a little surprising to Windows users, but yes, I tend
to prefer dso: over solib: as well.
More information about the Java