diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index 3be7cda8a59191157d34b9385b1a111e3e3d1c63..3bcd3f6c3bf1cd24c43e9038c69968fe3dc91d4a 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -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. diff --git a/gcc/java/gcj.texi b/gcc/java/gcj.texi index 67fb135710c4eb251fe95437e289de6900f6731a..05f31e0b798a259762edeca2e08a92b9b7f9fa83 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();