8035648: Don't use Handle in java_lang_String::print

Reviewed-by: coleenp, pliden
This commit is contained in:
Stefan Karlsson 2014-02-27 10:34:55 +01:00
parent ead6152f73
commit ba2326e19f
3 changed files with 7 additions and 9 deletions

View file

@ -2987,8 +2987,7 @@ void InstanceKlass::oop_print_on(oop obj, outputStream* st) {
offset <= (juint) value->length() &&
offset + length <= (juint) value->length()) {
st->print(BULLET"string: ");
Handle h_obj(obj);
java_lang_String::print(h_obj, st);
java_lang_String::print(obj, st);
st->cr();
if (!WizardMode) return; // that is enough
}