comparison src/share/vm/classfile/systemDictionary.cpp @ 3461:81d815b05abb

7056328: JSR 292 invocation sometimes fails in adapters for types not on boot class path Reviewed-by: never
author jrose
date Thu, 23 Jun 2011 17:14:06 -0700
parents 167b70ff3abc
children be4ca325525a fdb992d83a87
comparison
equal deleted inserted replaced
3460:e9b51b4bdcc7 3461:81d815b05abb
2365 if (spe->property_oop() == NULL) { 2365 if (spe->property_oop() == NULL) {
2366 spe->set_property_oop(m()); 2366 spe->set_property_oop(m());
2367 // Link m to his method type, if it is suitably generic. 2367 // Link m to his method type, if it is suitably generic.
2368 oop mtform = java_lang_invoke_MethodType::form(mt()); 2368 oop mtform = java_lang_invoke_MethodType::form(mt());
2369 if (mtform != NULL && mt() == java_lang_invoke_MethodTypeForm::erasedType(mtform) 2369 if (mtform != NULL && mt() == java_lang_invoke_MethodTypeForm::erasedType(mtform)
2370 // vmlayout must be an invokeExact:
2371 && name_id == vmSymbols::VM_SYMBOL_ENUM_NAME(invokeExact_name)
2370 && java_lang_invoke_MethodTypeForm::vmlayout_offset_in_bytes() > 0) { 2372 && java_lang_invoke_MethodTypeForm::vmlayout_offset_in_bytes() > 0) {
2371 java_lang_invoke_MethodTypeForm::init_vmlayout(mtform, m()); 2373 java_lang_invoke_MethodTypeForm::init_vmlayout(mtform, m());
2372 } 2374 }
2373 } 2375 }
2374 } else { 2376 } else {