src/share/vm/interpreter/linkResolver.cpp

changeset 1577
4ce7240d622c
parent 1570
e66fd840cb6b
child 1862
cd5dbf694d45
     1.1 --- a/src/share/vm/interpreter/linkResolver.cpp	Tue Jan 05 11:16:09 2010 -0800
     1.2 +++ b/src/share/vm/interpreter/linkResolver.cpp	Wed Jan 06 14:22:39 2010 -0800
     1.3 @@ -55,7 +55,7 @@
     1.4    // we should pick the vtable index from the resolved method.
     1.5    // Other than that case, there is no valid vtable index to specify.
     1.6    int vtable_index = methodOopDesc::invalid_vtable_index;
     1.7 -  if (resolved_method->method_holder() == SystemDictionary::object_klass()) {
     1.8 +  if (resolved_method->method_holder() == SystemDictionary::Object_klass()) {
     1.9      assert(resolved_method->vtable_index() == selected_method->vtable_index(), "sanity check");
    1.10      vtable_index = resolved_method->vtable_index();
    1.11    }
    1.12 @@ -193,7 +193,7 @@
    1.13    // We'll check for the method name first, as that's most likely
    1.14    // to be false (so we'll short-circuit out of these tests).
    1.15    if (sel_method->name() == vmSymbols::clone_name() &&
    1.16 -      sel_klass() == SystemDictionary::object_klass() &&
    1.17 +      sel_klass() == SystemDictionary::Object_klass() &&
    1.18        resolved_klass->oop_is_array()) {
    1.19      // We need to change "protected" to "public".
    1.20      assert(flags.is_protected(), "clone not protected?");

mercurial