This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Patch: FYI: remove redundant test


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);


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]