hotspot/src/share/vm/prims/nativeLookup.cpp
changeset 23999 22eb7be3d99d
parent 22872 b6902ee5bc8d
child 25468 5331df506290
equal deleted inserted replaced
23998:418ac4fe9834 23999:22eb7be3d99d
     1 /*
     1 /*
     2  * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1997, 2014, 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.
   406   Klass* k = SystemDictionary::resolve_or_fail(c_name, true, CATCH);
   406   Klass* k = SystemDictionary::resolve_or_fail(c_name, true, CATCH);
   407   instanceKlassHandle klass (THREAD, k);
   407   instanceKlassHandle klass (THREAD, k);
   408 
   408 
   409   // Find method and invoke standard lookup
   409   // Find method and invoke standard lookup
   410   methodHandle method (THREAD,
   410   methodHandle method (THREAD,
   411                        klass->uncached_lookup_method(m_name, s_name));
   411                        klass->uncached_lookup_method(m_name, s_name, Klass::normal));
   412   address result = lookup(method, in_base_library, CATCH);
   412   address result = lookup(method, in_base_library, CATCH);
   413   assert(in_base_library, "must be in basic library");
   413   assert(in_base_library, "must be in basic library");
   414   guarantee(result != NULL, "must be non NULL");
   414   guarantee(result != NULL, "must be non NULL");
   415   return result;
   415   return result;
   416 }
   416 }