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]
Other format: [Raw text]

Re: fix for CLASSPATH/classpath switch behaviour


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


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