Exception cause in stack trace should use Throwable.toString() not System.Exception.ToString().

This commit is contained in:
jfrijters 2010-11-17 13:08:21 +00:00
Родитель 23eefca3fc
Коммит b5e0d64fcc
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -454,7 +454,7 @@ namespace IKVM.Internal
Exception cause = Throwable.instancehelper_getCause(x);
while (cause != null)
{
list.Add("Caused by: " + cause);
list.Add("Caused by: " + java.lang.Object.instancehelper_toString(cause));
// Cause stacktrace
StackTraceElement[] parentStack = stack;