This is the mail archive of the java-patches@gcc.gnu.org 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: patches to re-direct _Jv_RegisterClass


"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/


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