diff options
author | Tom Tromey <tromey@gcc.gnu.org> | 2002-12-10 01:29:29 +0000 |
---|---|---|
committer | Tom Tromey <tromey@gcc.gnu.org> | 2002-12-10 01:29:29 +0000 |
commit | c53be425f7985fd00baf4fbc49bf2e66d02e5ecb (patch) | |
tree | 70e0cd4fd1936784fe22bb01722b15959fae5a3c | |
parent | 2e37b0cee2cbdec25eab74458c492aa7bd009537 (diff) | |
download | gcc-c53be425f7985fd00baf4fbc49bf2e66d02e5ecb.zip gcc-c53be425f7985fd00baf4fbc49bf2e66d02e5ecb.tar.gz gcc-c53be425f7985fd00baf4fbc49bf2e66d02e5ecb.tar.bz2 |
natResourceBundle.cc (getCallingClassLoader): Assume `t' won't be null.
* java/util/natResourceBundle.cc (getCallingClassLoader): Assume
`t' won't be null.
From-SVN: r59975
-rw-r--r-- | libjava/ChangeLog | 8 | ||||
-rw-r--r-- | 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 <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 @@ -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 <rmathew@hotmail.com> 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); |