hotspot/src/share/vm/oops/klass.cpp
changeset 28731 f7339cba0a6a
parent 27680 8ecc0871c18e
child 29081 c61eb4914428
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.
   138 #endif
   138 #endif
   139   ShouldNotReachHere();
   139   ShouldNotReachHere();
   140   return NULL;
   140   return NULL;
   141 }
   141 }
   142 
   142 
   143 Method* Klass::uncached_lookup_method(Symbol* name, Symbol* signature, MethodLookupMode mode) const {
   143 Method* Klass::uncached_lookup_method(Symbol* name, Symbol* signature, OverpassLookupMode overpass_mode) const {
   144 #ifdef ASSERT
   144 #ifdef ASSERT
   145   tty->print_cr("Error: uncached_lookup_method called on a klass oop."
   145   tty->print_cr("Error: uncached_lookup_method called on a klass oop."
   146                 " Likely error: reflection method does not correctly"
   146                 " Likely error: reflection method does not correctly"
   147                 " wrap return value in a mirror object.");
   147                 " wrap return value in a mirror object.");
   148 #endif
   148 #endif