This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Chaning the meaning of -CLASSPATH/-classpath switches
- From: Nic Ferrier <nferrier at tapsellferrier dot co dot uk>
- To: java-patches at gcc dot gnu dot org
- Date: 20 Feb 2002 15:46:40 +0000
- Subject: Chaning the meaning of -CLASSPATH/-classpath switches
- References: <3C70D730.4000604@jatak.com> <3C7142F0.6050003@bothner.com><3C7169EE.4040903@waitaki.otago.ac.nz><87664u1kfx.fsf_-_@tf1.tapsellferrier.co.uk><3C7185DB.6040301@waitaki.otago.ac.nz> <3C718A7F.1060501@bothner.com><873czy1gxg.fsf@tf1.tapsellferrier.co.uk><15473.41698.385817.823287@makita.cygnus.com><87r8niz2pp.fsf@tf1.tapsellferrier.co.uk><3C71A5AF.2010608@waitaki.otago.ac.nz><15473.43041.412371.618641@makita.cygnus.com><87k7t8xmmb.fsf@tf1.tapsellferrier.co.uk><15475.45932.2468.280224@makita.cygnus.com><87heocxk85.fsf@tf1.tapsellferrier.co.uk>
The patch (sent earlier, follow the references of this message)
signifcantly changes the meaning of the -CLASSPATH and -classpath
switches. In fact it swaps the 2 switches.
This is important because current GCJ differs from Sun's javac, this
makes life confusing and hard.
Here is the updated Changelog for the patch, thanks to Alexandre for
writing this.
* gcj.texi: Option `--classpath' becomes `--CLASSPATH.'
Option `--CLASSPATH' becomes `--classpath.'
* gjavah.c: Likewise.
* jcf-dump.c: Likewise.
* jcf-spec.c: Likewise.
* lang-options.h: Likewise.
* lang.c: Likewise.
* jcf-path.c: Updated comment.
(jcf_path_classpath_arg): Renamed `jcf_path_CLASSPATH_arg.'
(jcf_path_CLASSPATH_arg): Renamed `jcf_path_classpath_arg.'
* jcf.h (jcf_path_CLASSPATH_arg): Ditto.
(jcf_path_CLASSPATH_arg): Ditto.
(classpath_u): Updated leading comment.
Alexandre Petit-Bianco <apbianco@cygnus.com> wrote:
>Yes. So please re-post the altered ChangeLog entry. If others agree
>with the flag change (I do, but other might have something to say
>about it,) the patch will be checked in ASAP. Is there a libjava/
>counterpart?
Nope. I don't think there's a need for one is there?
If no one objects I will check this in.
Nic