src/share/vm/prims/jvm.cpp

changeset 8982
8f1acbb637e3
parent 8951
0612a789929b
parent 8721
575f637864df
child 9041
95a08233f46c
child 9071
3b6d2d60ff75
equal deleted inserted replaced
8962:8aa5e0006ee3 8982:8f1acbb637e3
1 /* 1 /*
2 * Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 1997, 2017, 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.
1344 1344
1345 // get run() method 1345 // get run() method
1346 Method* m_oop = object->klass()->uncached_lookup_method( 1346 Method* m_oop = object->klass()->uncached_lookup_method(
1347 vmSymbols::run_method_name(), 1347 vmSymbols::run_method_name(),
1348 vmSymbols::void_object_signature(), 1348 vmSymbols::void_object_signature(),
1349 Klass::normal); 1349 Klass::find_overpass);
1350 methodHandle m (THREAD, m_oop); 1350 methodHandle m (THREAD, m_oop);
1351 if (m.is_null() || !m->is_method() || !m()->is_public() || m()->is_static()) { 1351 if (m.is_null() || !m->is_method() || !m()->is_public() || m()->is_static()) {
1352 THROW_MSG_0(vmSymbols::java_lang_InternalError(), "No run method"); 1352 THROW_MSG_0(vmSymbols::java_lang_InternalError(), "No run method");
1353 } 1353 }
1354 1354

mercurial