src/hotspot/share/prims/jvm.cpp
changeset 49037 dc68aeea4840
parent 48826 c4d9d1b08e2e
child 49176 f413e471a6ab
child 56221 bdf8f77aad3a
equal deleted inserted replaced
49036:bc92debe57e4 49037:dc68aeea4840
     1 /*
     1 /*
     2  * Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1997, 2018, 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.
   164         vfst.next();
   164         vfst.next();
   165         found_it = true;
   165         found_it = true;
   166       }
   166       }
   167     } else if (last_caller != NULL &&
   167     } else if (last_caller != NULL &&
   168                last_caller->method_holder()->name() ==
   168                last_caller->method_holder()->name() ==
   169                vmSymbols::java_lang_ClassLoader() &&
   169                  vmSymbols::java_lang_ClassLoader() &&
   170                (last_caller->name() == vmSymbols::loadClassInternal_name() ||
   170                last_caller->name() == vmSymbols::loadClass_name()) {
   171                 last_caller->name() == vmSymbols::loadClass_name())) {
       
   172       found_it = true;
   171       found_it = true;
   173     } else if (!vfst.at_end()) {
   172     } else if (!vfst.at_end()) {
   174       if (vfst.method()->is_native()) {
   173       if (vfst.method()->is_native()) {
   175         // JNI call
   174         // JNI call
   176         found_it = true;
   175         found_it = true;