--- a/hotspot/src/cpu/x86/vm/methodHandles_x86.hpp Fri Aug 31 16:39:35 2012 -0700
+++ b/hotspot/src/cpu/x86/vm/methodHandles_x86.hpp Sat Sep 01 13:25:18 2012 -0400
@@ -35,11 +35,11 @@
static void load_klass_from_Class(MacroAssembler* _masm, Register klass_reg);
static void verify_klass(MacroAssembler* _masm,
- Register obj, KlassHandle klass,
+ Register obj, SystemDictionary::WKID klass_id,
const char* error_message = "wrong klass") NOT_DEBUG_RETURN;
static void verify_method_handle(MacroAssembler* _masm, Register mh_reg) {
- verify_klass(_masm, mh_reg, SystemDictionaryHandles::MethodHandle_klass(),
+ verify_klass(_masm, mh_reg, SystemDictionary::WK_KLASS_ENUM_NAME(java_lang_invoke_MethodHandle),
"reference is a MH");
}