comparison src/share/vm/classfile/systemDictionary.hpp @ 1508:2ffde6cfe049

6939196: method handle signatures off the boot class path get linkage errors Summary: Adjust MethodType lookup logic to search off the BCP, but not to cache those results Reviewed-by: twisti
author jrose
date Sat, 01 May 2010 21:57:35 -0700
parents cd5dbf694d45
children c18cbe5936b8
comparison
equal deleted inserted replaced
1507:cd5dbf694d45 1508:2ffde6cfe049
464 464
465 // JSR 292 465 // JSR 292
466 // find the java.dyn.MethodHandles::invoke method for a given signature 466 // find the java.dyn.MethodHandles::invoke method for a given signature
467 static methodOop find_method_handle_invoke(symbolHandle name, 467 static methodOop find_method_handle_invoke(symbolHandle name,
468 symbolHandle signature, 468 symbolHandle signature,
469 Handle class_loader, 469 KlassHandle accessing_klass,
470 Handle protection_domain,
471 TRAPS); 470 TRAPS);
472 // ask Java to compute a java.dyn.MethodType object for a given signature 471 // ask Java to compute a java.dyn.MethodType object for a given signature
473 static Handle find_method_handle_type(symbolHandle signature, 472 static Handle find_method_handle_type(symbolHandle signature,
474 Handle class_loader, 473 KlassHandle accessing_klass,
475 Handle protection_domain, 474 bool& return_bcp_flag,
476 TRAPS); 475 TRAPS);
477 // ask Java to create a dynamic call site, while linking an invokedynamic op 476 // ask Java to create a dynamic call site, while linking an invokedynamic op
478 static Handle make_dynamic_call_site(Handle bootstrap_method, 477 static Handle make_dynamic_call_site(Handle bootstrap_method,
479 // Callee information: 478 // Callee information:
480 symbolHandle name, 479 symbolHandle name,