This is the mail archive of the
java-discuss@sourceware.cygnus.com
mailing list for the Java project.
Re: dynamic library loading?
- To: hasty@netcom.com
- Subject: Re: dynamic library loading?
- From: Anthony Green <green@cygnus.com>
- Date: Thu, 17 Jun 1999 23:42:27 -0700
- CC: java-discuss@sourceware.cygnus.com
- References: <199906110725.AAA12909@netcom12.netcom.com>
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