hotspot/src/share/vm/prims/jvmtiEnv.cpp
changeset 14391 df0a1573d5bd
parent 13728 882756847a04
child 14488 ab48109f7d1b
equal deleted inserted replaced
14390:bd0d881cf1c5 14391:df0a1573d5bd
  2820 
  2820 
  2821   NULL_CHECK(method_oop, JVMTI_ERROR_INVALID_METHODID);
  2821   NULL_CHECK(method_oop, JVMTI_ERROR_INVALID_METHODID);
  2822   JavaThread* current_thread  = JavaThread::current();
  2822   JavaThread* current_thread  = JavaThread::current();
  2823 
  2823 
  2824   // does the klass have any local variable information?
  2824   // does the klass have any local variable information?
  2825   InstanceKlass* ik = InstanceKlass::cast(method_oop->method_holder());
  2825   InstanceKlass* ik = method_oop->method_holder();
  2826   if (!ik->access_flags().has_localvariable_table()) {
  2826   if (!ik->access_flags().has_localvariable_table()) {
  2827     return (JVMTI_ERROR_ABSENT_INFORMATION);
  2827     return (JVMTI_ERROR_ABSENT_INFORMATION);
  2828   }
  2828   }
  2829 
  2829 
  2830   ConstantPool* constants = method_oop->constants();
  2830   ConstantPool* constants = method_oop->constants();