diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index 3be7cda8a59..3bcd3f6c3bf 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 67fb135710c..05f31e0b798 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();