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] | |
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.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |