dynamic library loading?
Anthony Green
green@cygnus.com
Thu Jun 17 23:42:00 GMT 1999
Amancio wrote:
> Wondering if it is possible to load shared objects with gcj akeen
> to java dynamic class loading.
It should definitely be possible to do this. We just need to define
how it's supposed to work. One idea was to simply let users put .so
files (and perhaps directories that might contain them?) in their
classpath. The runtime would then rummage around in these libraries
to pull out the appropriate code.
It occurs to me now that in this model, we might have to teach the
compiler to ignore .so files found in the CLASSPATH.
In any case, this would be a tremendously useful hack. If anyone is
interested in giving this a go, please speak up!
Thanks,
AG
--
Anthony Green Cygnus Solutions
Sunnyvale, California
More information about the Java
mailing list