-classpath switch patch

Nic Ferrier nferrier@tapsellferrier.co.uk
Wed Feb 20 06:32:00 GMT 2002


Attached is the patch for the classpath switch stuff.

The patch simply swaps the meaning of the -classpath and --CLASSPATH
switches so that the -classpath switch does NOT override the system
classpath (but the -CLASSPATH switch does).



Here's a changelog description:         

        * gcc/java/gcj.texi (Input options): ditto.
        * gcc/java/gjavah.c (struct option, help, main): ditto.
        * jcf-dump.c (struct options, help, main): ditto.
        * jv-spec.c (jvgenmain_spec, lang_specific_driver): ditto.
        * lang-options.h: ditto.
        * lang.c (java_decode_option): ditto. 
        * jcf.h, jcf-path.c (struct entry): change meaning of options.
          (jcf_path_classpath_arg): changed meaning of option.
          (jcf_path_bootclasspath_arg): new function.
          (jcf_path_CLASSPATH_arg): removed. 


Comments are most welcome (including about the format of my changelog
entry).


Nic


-------------- next part --------------
A non-text attachment was scrubbed...
Name: cp-switch.diff
Type: text/x-patch
Size: 13163 bytes
Desc: fix command line options
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20020220/80466148/attachment.bin>


More information about the Java-patches mailing list