This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: fix for CLASSPATH/classpath switch behaviour
- From: Tom Tromey <tromey at redhat dot com>
- To: Nic Ferrier <nferrier at tapsellferrier dot co dot uk>
- Cc: java-patches at gcc dot gnu dot org
- Date: 07 Feb 2002 21:48:41 -0700
- Subject: Re: fix for CLASSPATH/classpath switch behaviour
- References: <873d0cbq9v.fsf@tf1.tapsellferrier.co.uk>
- Reply-to: tromey at redhat dot com
>>>>> "Nic" == Nic Ferrier <nferrier@tapsellferrier.co.uk> writes:
Nic> Unfortunately, this does not match what Sun's javac compiler
Nic> does. With javac the -classpath switch does NOT override the
Nic> system class path.
Does the Sun javac have a way to override the system class path?
What is it?
Nic> The attached patch solves the problem. It simply swaps the
Nic> meaning of the two options.
I'd like to see this patch refined in three ways:
* It leaves jcf-path.c alone, meaning that the function names and
comments therein will be confusing, and
* It doesn't update the docs, and
* lang-options.h has to change
Tom