mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 02:54:35 +02:00
8001471: Klass::cast() does nothing
Remove function Klass::cast() and calls to it. Reviewed-by: dholmes, coleenp
This commit is contained in:
parent
a988fc0968
commit
4aad9b74e7
54 changed files with 343 additions and 351 deletions
|
@ -349,7 +349,7 @@ address NativeLookup::lookup_entry_prefixed(methodHandle method, bool& in_base_l
|
|||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue