hotspot/src/share/vm/prims/jvmtiEnv.cpp
changeset 14391 df0a1573d5bd
parent 13728 882756847a04
child 14488 ab48109f7d1b
--- a/hotspot/src/share/vm/prims/jvmtiEnv.cpp	Thu Oct 04 14:55:57 2012 +0200
+++ b/hotspot/src/share/vm/prims/jvmtiEnv.cpp	Tue Nov 06 15:09:37 2012 -0500
@@ -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);
   }