This is the mail archive of the java-discuss@sourceware.cygnus.com 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]

Re: dynamic library loading?



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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]