Chaning the meaning of -CLASSPATH/-classpath switches

Nic Ferrier nferrier@tapsellferrier.co.uk
Wed Feb 20 10:09:00 GMT 2002


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



More information about the Java-patches mailing list