From: T.J. Mather Date: Mon, 1 Jul 2002 03:48:39 +0000 (+0000) Subject: gcj.texi: Fixed gcj invocation example so that it compiles. X-Git-Tag: releases/gcc-3.3.0~4032 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=32c4621e890c02f2583d309234e1d404549dcf48;p=thirdparty%2Fgcc.git gcj.texi: Fixed gcj invocation example so that it compiles. 2002-06-29 T.J. Mather * gcj.texi: Fixed gcj invocation example so that it compiles. From-SVN: r55126 --- diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index 3be7cda8a591..3bcd3f6c3bf1 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,3 +1,7 @@ +2002-06-29 T.J. Mather + + * gcj.texi: Fixed gcj invocation example so that it compiles. + 2002-06-26 Kaveh R. Ghazi * lex.c (java_init_lex): Avoid incorrect hardcoded constant 11. diff --git a/gcc/java/gcj.texi b/gcc/java/gcj.texi index 67fb135710c4..05f31e0b798a 100644 --- a/gcc/java/gcj.texi +++ b/gcc/java/gcj.texi @@ -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();