+2004-06-10 Mark Wielaard <mark@klomp.org>
+
+ * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
+ NoSuchMethodError.
+
2004-06-11 Jerry Quinn <jlquinn@optonline.net>
* java/util/GregorianCalendar.java (computeTime): Skip buggy formulae
// jni.cc - JNI implementation, including the jump table.
-/* Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation
+/* Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004
+ Free Software Foundation
This file is part of libgcj.
#include <java/lang/Throwable.h>
#include <java/lang/ArrayIndexOutOfBoundsException.h>
#include <java/lang/StringIndexOutOfBoundsException.h>
+#include <java/lang/StringBuffer.h>
#include <java/lang/UnsatisfiedLinkError.h>
#include <java/lang/InstantiationException.h>
#include <java/lang/NoSuchFieldError.h>
clazz = clazz->getSuperclass ();
}
- env->ex = new java::lang::NoSuchMethodError ();
+ java::lang::StringBuffer *name_sig =
+ new java::lang::StringBuffer (JvNewStringUTF (name));
+ name_sig->append ((jchar) ' ')->append (JvNewStringUTF (s));
+ env->ex = new java::lang::NoSuchMethodError (name_sig->toString ());
}
catch (jthrowable t)
{