natResourceBundle.cc (getCallingClassLoader): Assume `t' won't be null.

* java/util/natResourceBundle.cc (getCallingClassLoader): Assume
	`t' won't be null.

From-SVN: r59975
This commit is contained in:
Tom Tromey 2002-12-10 01:29:29 +00:00
parent 2e37b0cee2
commit c53be425f7
2 changed files with 7 additions and 3 deletions

View 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
@ -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>

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