aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/gcj.texi
diff options
context:
space:
mode:
authorT.J. Mather <tjmather@maxmind.com>2002-07-01 03:48:39 +0000
committerBryce McKinlay <bryce@gcc.gnu.org>2002-07-01 04:48:39 +0100
commit32c4621e890c02f2583d309234e1d404549dcf48 (patch)
treec341047e194ce101f0d26b154d869a69d246b2dc /gcc/java/gcj.texi
parent118f8dc12c67534f18a8fe5c95b3319cf962bf14 (diff)
downloadgcc-32c4621e890c02f2583d309234e1d404549dcf48.zip
gcc-32c4621e890c02f2583d309234e1d404549dcf48.tar.gz
gcc-32c4621e890c02f2583d309234e1d404549dcf48.tar.bz2
gcj.texi: Fixed gcj invocation example so that it compiles.
2002-06-29 T.J. Mather <tjmather@maxmind.com> * gcj.texi: Fixed gcj invocation example so that it compiles. From-SVN: r55126
Diffstat (limited to 'gcc/java/gcj.texi')
-rw-r--r--gcc/java/gcj.texi2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/java/gcj.texi b/gcc/java/gcj.texi
index 67fb135..05f31e0 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();