From 8cbe323d52b2e520d1dc55b112d82dd9310909b6 Mon Sep 17 00:00:00 2001 From: Joel Dice Date: Wed, 1 Dec 2010 15:43:27 -0700 Subject: [PATCH] update Avian_avian_Machine_dumpHeap to reflect classpath refactoring --- src/builtin.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/builtin.cpp b/src/builtin.cpp index 75de37c759..55b4c3f02a 100644 --- a/src/builtin.cpp +++ b/src/builtin.cpp @@ -126,7 +126,8 @@ Avian_avian_Machine_dumpHeap fclose(out); } else { object message = makeString(t, "file not found: %s", n); - t->exception = makeRuntimeException(t, message); + t->exception = t->m->classpath->makeThrowable + (t, Machine::RuntimeExceptionType, message); } }