equal
deleted
inserted
replaced
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(); |