From c7de33af78665d3ef1cc093fca0118aa4e5a9c7a Mon Sep 17 00:00:00 2001 From: tromey Date: Tue, 10 Dec 2002 01:29:29 +0000 Subject: [PATCH] * java/util/natResourceBundle.cc (getCallingClassLoader): Assume `t' won't be null. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59975 138bc75d-0d04-0410-961f-82ee72b054a4 --- 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 15ce27c..7ec6424 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 9d142e0..21a9565 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); -- 2.7.4