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

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