changeset 1543:747e36a87ea8

Whoa!
author Gary Benson <gbenson@redhat.com>
date Thu, 20 May 2010 09:53:19 +0100
parents b94634952902
children 83e300e89e9a
files src/share/vm/shark/sharkTopLevelBlock.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/shark/sharkTopLevelBlock.cpp	Thu May 20 08:55:55 2010 +0100
+++ b/src/share/vm/shark/sharkTopLevelBlock.cpp	Thu May 20 09:53:19 2010 +0100
@@ -512,7 +512,7 @@
     // Drop into the runtime if there are non-catch-all options
     if (num_options > 0) {
       int *indexes = NEW_RESOURCE_ARRAY(int, num_options);
-      for (int i = 0; i < num_exceptions(); i++)
+      for (int i = 0; i < num_options; i++)
         indexes[i] = exc_handler(i)->catch_klass_index();
 
       Value *index = call_vm(