This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Patch: FYI: remove redundant test
- From: Tom Tromey <tromey at redhat dot com>
- To: Java Patch List <java-patches at gcc dot gnu dot org>
- Date: 09 Dec 2002 18:27:49 -0700
- Subject: Patch: FYI: remove redundant test
- Reply-to: tromey at redhat dot com
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);