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]

Chaning the meaning of -CLASSPATH/-classpath switches



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


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