equal
deleted
inserted
replaced
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 } |