mirror of
https://github.com/openjdk/jdk.git
synced 2026-03-12 08:53:12 +00:00
8357681: Fixed the DigitList::toString method causing incorrect results during debugging
Reviewed-by: jlu, naoto
This commit is contained in:
parent
bb2c80c0e9
commit
b7f0f480ce
@ -784,12 +784,7 @@ final class DigitList implements Cloneable {
|
||||
return "0";
|
||||
}
|
||||
|
||||
return getStringBuilder()
|
||||
.append("0.")
|
||||
.append(digits, 0, count)
|
||||
.append("x10^")
|
||||
.append(decimalAt)
|
||||
.toString();
|
||||
return "0." + new String(digits, 0, count) + "x10^" + decimalAt;
|
||||
}
|
||||
|
||||
private StringBuilder tempBuilder;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user