src/hotspot/share/jvmci/jvmciRuntime.cpp
changeset 58760 1f7f707c1aa9
parent 58722 cba8afa5cfed
child 58901 2700c409ff10
equal deleted inserted replaced
58759:4242e35767b5 58760:1f7f707c1aa9
  1269   // instead of an InstanceKlass*.  For that case simply pretend that the
  1269   // instead of an InstanceKlass*.  For that case simply pretend that the
  1270   // declared holder is Object.clone since that's where the call will bottom out.
  1270   // declared holder is Object.clone since that's where the call will bottom out.
  1271   if (method_holder->is_instance_klass()) {
  1271   if (method_holder->is_instance_klass()) {
  1272     return InstanceKlass::cast(method_holder);
  1272     return InstanceKlass::cast(method_holder);
  1273   } else if (method_holder->is_array_klass()) {
  1273   } else if (method_holder->is_array_klass()) {
  1274     return InstanceKlass::cast(SystemDictionary::Object_klass());
  1274     return SystemDictionary::Object_klass();
  1275   } else {
  1275   } else {
  1276     ShouldNotReachHere();
  1276     ShouldNotReachHere();
  1277   }
  1277   }
  1278   return NULL;
  1278   return NULL;
  1279 }
  1279 }