From c53be425f7985fd00baf4fbc49bf2e66d02e5ecb Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Tue, 10 Dec 2002 01:29:29 +0000 Subject: [PATCH] natResourceBundle.cc (getCallingClassLoader): Assume `t' won't be null. * java/util/natResourceBundle.cc (getCallingClassLoader): Assume `t' won't be null. From-SVN: r59975 --- libjava/ChangeLog | 8 +++++++- libjava/java/util/natResourceBundle.cc | 2 -- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 15ce27c6165..7ec6424e7da 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,8 @@ +2002-12-09 Tom Tromey + + * java/util/natResourceBundle.cc (getCallingClassLoader): Assume + `t' won't be null. + 2002-12-08 Mark Wielaard * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and @@ -1264,7 +1269,8 @@ 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 diff --git a/libjava/java/util/natResourceBundle.cc b/libjava/java/util/natResourceBundle.cc index 9d142e060ef..21a9565c996 100644 --- a/libjava/java/util/natResourceBundle.cc +++ b/libjava/java/util/natResourceBundle.cc @@ -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);