-classpath switch patch

Per Bothner per@bothner.com
Fri Feb 22 19:18:00 GMT 2002


Ok, it turns out that RHUG uses -fCLASSPATH=PATH when it should
probably have used --classpath (new definition) or the CLASSPATH
environment variable (maximally portable).  Now we can change RHUG
- I think using -I shoudl work both for old and new compilers.
But I think the idea of using --CLASSPATH to set the entire path
was a mistake.  I admit the fault may have been mine for mudding
up the waters, though I really don't like --bootclasspath unless
it does the same thing that Sun specifies.

Perhaps we should just make --classpath and --CLASSPATH be synonyms.
I don't know if we actually need the --bootclasspath functionality,
though I do think we should implement it, and it shouldn't be
that difficult.

We can add --wholeclasspath for the option that replaces both the
builtin and the boot classpaths.  That could be implement easily
enough - just take Nik's original patch, and replace bootclasspath
by wholeclasspath.  The we can think about implementing
bootclasspath.  I'll take a look at this.
-- 
	--Per Bothner
per@bothner.com   http://www.bothner.com/per/



More information about the Java-patches mailing list