mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8035648: Don't use Handle in java_lang_String::print
Reviewed-by: coleenp, pliden
This commit is contained in:
parent
ead6152f73
commit
ba2326e19f
3 changed files with 7 additions and 9 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue