OSDN Git Service

2005-04-14 Thomas Fitzsimmons <fitzsim@redhat.com>
authorfitzsim <fitzsim@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 15 Apr 2005 02:40:02 +0000 (02:40 +0000)
committerfitzsim <fitzsim@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 15 Apr 2005 02:40:02 +0000 (02:40 +0000)
* gij.cc (version): Properly quote java version.
(main): Fix typo in comment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98166 138bc75d-0d04-0410-961f-82ee72b054a4

libjava/ChangeLog
libjava/gij.cc

index 7c388da..c6c6205 100644 (file)
@@ -1,3 +1,8 @@
+2005-04-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
+
+       * gij.cc (version): Properly quote java version.
+       (main): Fix typo in comment.
+
 2005-04-13  Mark Wielaard  <mark@klomp.org>
 
        * java/lang/natRuntime.cc (insertSystemProperties): Set
index 6eee6b5..010e72f 100644 (file)
@@ -40,7 +40,7 @@ help ()
 static void
 version ()
 {
-  printf ("java version " JV_VERSION "\n");
+  printf ("java version \"" JV_VERSION "\"\n");
   printf ("gij (GNU libgcj) version %s\n\n", __VERSION__);
   printf ("Copyright (C) 2005 Free Software Foundation, Inc.\n");
   printf ("This is free software; see the source for copying conditions.  There is NO\n");
@@ -315,7 +315,7 @@ main (int argc, char const** argv)
     }
 
   // -jar mode overrides all other modes of specifying class path:
-  // -CLASSPATH, -Djava.class.path, -classpath and -cp.
+  // CLASSPATH, -Djava.class.path, -classpath and -cp.
   if (jar_mode)
     {
       char* darg = (char*) JvMalloc (strlen (argv[i])