Mercurial > hg > truffle
diff src/share/vm/prims/nativeLookup.cpp @ 6988:2cb439954abf
Merge with http://hg.openjdk.java.net/hsx/hsx25/hotspot/
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Mon, 19 Nov 2012 15:36:13 +0100 |
parents | e522a00b91aa 070d523b96a7 |
children | 5fc51c1ecdeb |
line wrap: on
line diff
--- a/src/share/vm/prims/nativeLookup.cpp Sun Nov 18 22:45:43 2012 +0100 +++ b/src/share/vm/prims/nativeLookup.cpp Mon Nov 19 15:36:13 2012 +0100 @@ -355,7 +355,7 @@ TempNewSymbol wrapper_symbol = SymbolTable::probe(wrapper_name, wrapper_name_len); if (wrapper_symbol != NULL) { KlassHandle kh(method->method_holder()); - Method* wrapper_method = Klass::cast(kh())->lookup_method(wrapper_symbol, + Method* wrapper_method = kh()->lookup_method(wrapper_symbol, method->signature()); if (wrapper_method != NULL && !wrapper_method->is_native()) { // we found a wrapper method, use its native entry