This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: proposed java install and extensions directory change
- From: Per Bothner <per at bothner dot com>
- To: Anthony Green <green at redhat dot com>
- Cc: java at gcc dot gnu dot org
- Date: Thu, 28 Feb 2002 14:46:41 -0800
- Subject: Re: proposed java install and extensions directory change
- References: <3C7E8A49.3050000@bothner.com> <1014935446.1754.21.camel@dhcppc2>
> So the compiler always searches the extension directory, --extdirs= just
> let the user override this?
Yes. Though since the extension directories are last, hopefully in many
case the cokpiler won't need to search them.)
> Does "--extdirs=" mean don't seach anywhere?
No, it means just search the --classpth (or CLASSPATH env var) and the
--bootclasspath.
> Should there also be a default secondary /usr/local/share/java/ext?
Perhaps. It's easy enough to add, since extdirs takes a list of
directories (needed for jdk compatibility).
> If extdir searches end up being too slow, you can imagine speeding up
> the search by having a single property file mapping class names to jar
> files, which is refreshed at jar file installation time.
Well, I would have property file mapping *package* names, to jar files.
In pathological cases a package name may map to more than one jar file,
but not in the normal case.
--
--Per Bothner
per@bothner.com http://www.bothner.com/per/