Patch: FYI: remove redundant test
Tom Tromey
tromey@redhat.com
Mon Dec 9 17:28:00 GMT 2002
I'm checking this in.
This removes a redundant test. I think this test was needed with an
earlier version of Andrew's stack trace patch.
Tom
Index: java/util/natResourceBundle.cc
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/util/natResourceBundle.cc,v
retrieving revision 1.4
diff -u -r1.4 natResourceBundle.cc
--- java/util/natResourceBundle.cc 5 Dec 2002 00:49:30 -0000 1.4
+++ java/util/natResourceBundle.cc 10 Dec 2002 01:28:20 -0000
@@ -22,8 +22,6 @@
java::util::ResourceBundle::getCallingClassLoader ()
{
gnu::gcj::runtime::StackTrace *t = new gnu::gcj::runtime::StackTrace(6);
- if (! t)
- return NULL;
for (int i = 3; i < 6; ++i)
{
jclass klass = t->classAt(i);
More information about the Java-patches
mailing list