patches to re-direct _Jv_RegisterClass
Per Bothner
per@bothner.com
Fri Jul 6 23:09:00 GMT 2001
"Anthony Green" <green@redhat.com> writes:
> Also, our current scheme uses library names foo-bar-class.so. This is
> inconvenient if you need to link against them (-lfoo-bar-class doesn't
> work). Should we change these to libfoo-bar-class.so? Or
> libgcj-foo-bar-class.so?
I think libfoo-bar-class.so would be more standard. I would like a
convention that for each "library" XYZ we install both a XYZ-VERSION.jar
(in $prefix/share/gcj or $prefix/share/java) and a XYZ-VERSION.so
(in $prefix/lib).
I'm not sure about the convention mapping package prefixes to
library names in VMClassLoader::findClass. Is it actually used?
A model closer to Sun's extensions mechanism would be to just
search $prefix/share/gcj/*.jar, if it hasn't already been registered.
--
--Per Bothner
per@bothner.com http://www.bothner.com/per/
More information about the Java-patches
mailing list