]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
natResourceBundle.cc (getCallingClassLoader): Assume `t' won't be null.
authorTom Tromey <tromey@gcc.gnu.org>
Tue, 10 Dec 2002 01:29:29 +0000 (01:29 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Tue, 10 Dec 2002 01:29:29 +0000 (01:29 +0000)
* java/util/natResourceBundle.cc (getCallingClassLoader): Assume
`t' won't be null.

From-SVN: r59975

libjava/ChangeLog
libjava/java/util/natResourceBundle.cc

index 15ce27c61654fac90098aa4d5d55690774d89b4b..7ec6424e7daaea610bdb0c080626741f41ca25d7 100644 (file)
@@ -1,3 +1,8 @@
+2002-12-09  Tom Tromey  <tromey@redhat.com>
+
+       * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
+       `t' won't be null.
+
 2002-12-08  Mark Wielaard  <mark@klomp.org>
 
        * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
        heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
        removed some posix-isms, use Thread::sleep() instead of usleep,
        added code to clear bottom three bits if platform has a broken
-       linker.  * include/win32-threads.h (_Jv_ThreadId_t): added.
+       linker.
+       * include/win32-threads.h (_Jv_ThreadId_t): added.
 
 2002-10-19  Ranjit Mathew <rmathew@hotmail.com>
 
index 9d142e060ef44d6297c4b98af9235341daf1da2c..21a9565c9961027fa4e56e9e5ea8dd7bd46e90d6 100644 (file)
@@ -22,8 +22,6 @@ java::lang::ClassLoader *
 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);