OSDN Git Service

2002-06-29 T.J. Mather <tjmather@maxmind.com>
authorbryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 1 Jul 2002 03:48:39 +0000 (03:48 +0000)
committerbryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 1 Jul 2002 03:48:39 +0000 (03:48 +0000)
* gcj.texi: Fixed gcj invocation example so that it compiles.

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

gcc/java/ChangeLog
gcc/java/gcj.texi

index 3be7cda..3bcd3f6 100644 (file)
@@ -1,3 +1,7 @@
+2002-06-29  T.J. Mather  <tjmather@maxmind.com>
+
+       * gcj.texi: Fixed gcj invocation example so that it compiles.
+
 2002-06-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 
        * lex.c (java_init_lex): Avoid incorrect hardcoded constant 11.
index 67fb135..05f31e0 100644 (file)
@@ -1901,7 +1901,7 @@ int main(int argc, char *argv)
     JvAttachCurrentThread(NULL, NULL);
 
     String *message = JvNewStringLatin1("Hello from C++");
-    JvInitClass(&System.class$);
+    JvInitClass(&System::class$);
     System::out->println(message);
 
     JvDetachCurrentThread();