mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 09:34:38 +02:00
8301088: oopDesc::print_on should consistently use a trailing newline
Reviewed-by: tschatzl, coleenp
This commit is contained in:
parent
64b25ea0b4
commit
4bd3f0a0d5
2 changed files with 4 additions and 4 deletions
|
@ -40,9 +40,9 @@
|
|||
|
||||
void oopDesc::print_on(outputStream* st) const {
|
||||
if (*((juint*)this) == badHeapWordVal) {
|
||||
st->print("BAD WORD");
|
||||
st->print_cr("BAD WORD");
|
||||
} else if (*((juint*)this) == badMetaWordVal) {
|
||||
st->print("BAD META WORD");
|
||||
st->print_cr("BAD META WORD");
|
||||
} else {
|
||||
klass()->oop_print_on(cast_to_oop(this), st);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue