mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +02:00
8223050: JVMCI: findUniqueConcreteMethod() should not use Dependencies::find_unique_concrete_method() for non-virtual methods
Reviewed-by: kvn, dnsimon
This commit is contained in:
parent
e27ad50eb0
commit
c18ffd6a79
4 changed files with 41 additions and 13 deletions
|
@ -453,6 +453,9 @@ C2V_VMENTRY_NULL(jobject, findUniqueConcreteMethod, (JNIEnv* env, jobject, jobje
|
|||
if (holder->is_interface()) {
|
||||
JVMCI_THROW_MSG_NULL(InternalError, err_msg("Interface %s should be handled in Java code", holder->external_name()));
|
||||
}
|
||||
if (method->can_be_statically_bound()) {
|
||||
JVMCI_THROW_MSG_NULL(InternalError, err_msg("Effectively static method %s.%s should be handled in Java code", method->method_holder()->external_name(), method->external_name()));
|
||||
}
|
||||
|
||||
methodHandle ucm;
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue