Mercurial > hg > graal-compiler
diff 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 |
line wrap: on
line diff
--- a/src/share/vm/classfile/systemDictionary.hpp Sat May 01 02:42:18 2010 -0700 +++ b/src/share/vm/classfile/systemDictionary.hpp Sat May 01 21:57:35 2010 -0700 @@ -466,13 +466,12 @@ // find the java.dyn.MethodHandles::invoke method for a given signature static methodOop find_method_handle_invoke(symbolHandle name, symbolHandle signature, - Handle class_loader, - Handle protection_domain, + KlassHandle accessing_klass, TRAPS); // ask Java to compute a java.dyn.MethodType object for a given signature static Handle find_method_handle_type(symbolHandle signature, - Handle class_loader, - Handle protection_domain, + KlassHandle accessing_klass, + bool& return_bcp_flag, TRAPS); // ask Java to create a dynamic call site, while linking an invokedynamic op static Handle make_dynamic_call_site(Handle bootstrap_method,