natRuntime stack trace bug fix

Tom Tromey tromey@redhat.com
Sat Jan 11 00:31:00 GMT 2003


>>>>> "Andrew" == Andrew Haley <aph@redhat.com> writes:

Andrew> 2003-01-10    Andrew Haley <aph@.redhat.com>
Andrew>         * java/lang/natRuntime.cc (_load): StackTrace access needs to be
Andrew>         in a try block.

I think this changes the semantics a bit.

Andrew> !         for (int i = 1; !klass; i++)

If klass!=NULL and it was loaded with the system loader, we'll still
exit the loop.

Tom



More information about the Java-patches mailing list