Mercurial > hg > truffle
comparison 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 |
comparison
equal
deleted
inserted
replaced
6975:64812523d72e | 6976:8aaef2cee3b2 |
---|---|
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(); |