diff src/share/vm/prims/jvmtiEnv.cpp @ 6976:8aaef2cee3b2

Merge
author minqi
date Thu, 08 Nov 2012 16:48:01 -0800
parents 18fb7da42534
children e522a00b91aa 070d523b96a7
line wrap: on
line diff
--- a/src/share/vm/prims/jvmtiEnv.cpp	Wed Oct 31 16:20:03 2012 -0700
+++ b/src/share/vm/prims/jvmtiEnv.cpp	Thu Nov 08 16:48:01 2012 -0800
@@ -2822,7 +2822,7 @@
   JavaThread* current_thread  = JavaThread::current();
 
   // does the klass have any local variable information?
-  InstanceKlass* ik = InstanceKlass::cast(method_oop->method_holder());
+  InstanceKlass* ik = method_oop->method_holder();
   if (!ik->access_flags().has_localvariable_table()) {
     return (JVMTI_ERROR_ABSENT_INFORMATION);
   }