Patch: FYI: PR libgcj/21775
Tom Tromey
tromey@redhat.com
Fri May 27 21:13:00 GMT 2005
I'm checking this in on the 4.0 branch.
This is the fix that was included in PR 21775. I tried it here and
it worked fine. This bug does not occur on the cvs trunk.
Tom
Index: ChangeLog
from Robin Green <greenrd@greenrd.org>
PR libgcj/21775:
* java/util/logging/natLogger.cc (getCallerStackFrame): Start
with i=1.
Index: java/util/logging/natLogger.cc
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/util/logging/natLogger.cc,v
retrieving revision 1.1
diff -u -r1.1 natLogger.cc
--- java/util/logging/natLogger.cc 21 Feb 2005 18:19:01 -0000 1.1
+++ java/util/logging/natLogger.cc 27 May 2005 18:26:26 -0000
@@ -1,6 +1,6 @@
// natLogger.cc - Native part of Logger class.
-/* Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation
+/* Copyright (C) 1998, 1999, 2000, 2001, 2005 Free Software Foundation
This Logger is part of libgcj.
@@ -31,7 +31,7 @@
gnu::gcj::runtime::StackTrace *t
= new gnu::gcj::runtime::StackTrace(4);
java::lang::Class *klass = NULL;
- int i = 2;
+ int i = 1;
try
{
// skip until this class
More information about the Java-patches
mailing list