hotspot/src/share/vm/prims/nativeLookup.cpp
changeset 28731 f7339cba0a6a
parent 25468 5331df506290
child 33160 c59f1676d27e
equal deleted inserted replaced
28628:544fb99e0080 28731:f7339cba0a6a
     1 /*
     1 /*
     2  * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
   391   Klass* k = SystemDictionary::resolve_or_fail(c_name, true, CATCH);
   391   Klass* k = SystemDictionary::resolve_or_fail(c_name, true, CATCH);
   392   instanceKlassHandle klass (THREAD, k);
   392   instanceKlassHandle klass (THREAD, k);
   393 
   393 
   394   // Find method and invoke standard lookup
   394   // Find method and invoke standard lookup
   395   methodHandle method (THREAD,
   395   methodHandle method (THREAD,
   396                        klass->uncached_lookup_method(m_name, s_name, Klass::normal));
   396                        klass->uncached_lookup_method(m_name, s_name, Klass::find_overpass));
   397   address result = lookup(method, in_base_library, CATCH);
   397   address result = lookup(method, in_base_library, CATCH);
   398   assert(in_base_library, "must be in basic library");
   398   assert(in_base_library, "must be in basic library");
   399   guarantee(result != NULL, "must be non NULL");
   399   guarantee(result != NULL, "must be non NULL");
   400   return result;
   400   return result;
   401 }
   401 }