Mercurial > hg > truffle
diff src/share/vm/interpreter/linkResolver.cpp @ 1142:4ce7240d622c
6914300: ciEnv should export all well known classes
Reviewed-by: kvn, twisti
author | never |
---|---|
date | Wed, 06 Jan 2010 14:22:39 -0800 |
parents | e66fd840cb6b |
children | cd5dbf694d45 |
line wrap: on
line diff
--- a/src/share/vm/interpreter/linkResolver.cpp Tue Jan 05 11:16:09 2010 -0800 +++ b/src/share/vm/interpreter/linkResolver.cpp Wed Jan 06 14:22:39 2010 -0800 @@ -55,7 +55,7 @@ // we should pick the vtable index from the resolved method. // Other than that case, there is no valid vtable index to specify. int vtable_index = methodOopDesc::invalid_vtable_index; - if (resolved_method->method_holder() == SystemDictionary::object_klass()) { + if (resolved_method->method_holder() == SystemDictionary::Object_klass()) { assert(resolved_method->vtable_index() == selected_method->vtable_index(), "sanity check"); vtable_index = resolved_method->vtable_index(); } @@ -193,7 +193,7 @@ // We'll check for the method name first, as that's most likely // to be false (so we'll short-circuit out of these tests). if (sel_method->name() == vmSymbols::clone_name() && - sel_klass() == SystemDictionary::object_klass() && + sel_klass() == SystemDictionary::Object_klass() && resolved_klass->oop_is_array()) { // We need to change "protected" to "public". assert(flags.is_protected(), "clone not protected?");