solib: URL patch

Jeff Sturm jsturm@one-point.com
Wed Aug 13 16:47:00 GMT 2003


On Wed, 13 Aug 2003, Andrew Haley wrote:
> Tom Tromey writes:
>  >
>  > This restriction will be lifted once we move to the new ABI.  Then we
>  > will be able to load .so files privately (instead of RTLD_GLOBAL).
>
> Uh, we've decide this for sure, have we?  I mean, it sounds like a
> good idea, but have you dot a solid design in mind?  We still need a
> mechanism that will allow us to call .so files from CNI code, I guess.

Does there need to be any CNI mechanism for this?  Or is Java's
Class.forName() etc. adequate to load/invoke the solib?

For my 2 cents, I like this patch a lot.  My only nit is that the name
"solib:" is a bit peculiar.  It refers to the defacto suffix naming of
shared libraries on ELF targets (which are quite common now, I admit).

I'd marginally prefer "sharedlib:" over "solib:".

Jeff



More information about the Java mailing list