зеркало из https://github.com/mono/ikvm-fork.git
Exception cause in stack trace should use Throwable.toString() not System.Exception.ToString().
This commit is contained in:
Родитель
23eefca3fc
Коммит
b5e0d64fcc
|
@ -454,7 +454,7 @@ namespace IKVM.Internal
|
||||||
Exception cause = Throwable.instancehelper_getCause(x);
|
Exception cause = Throwable.instancehelper_getCause(x);
|
||||||
while (cause != null)
|
while (cause != null)
|
||||||
{
|
{
|
||||||
list.Add("Caused by: " + cause);
|
list.Add("Caused by: " + java.lang.Object.instancehelper_toString(cause));
|
||||||
|
|
||||||
// Cause stacktrace
|
// Cause stacktrace
|
||||||
StackTraceElement[] parentStack = stack;
|
StackTraceElement[] parentStack = stack;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче