mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8338690: CompactNumberInstance.format incorrectly formats some numbers (few vs many)
Reviewed-by: joehw, rriggs, jlu
This commit is contained in:
parent
1ff5f8d65c
commit
fa4ff78bd4
3 changed files with 73 additions and 48 deletions
|
@ -1799,6 +1799,14 @@ public class DecimalFormat extends NumberFormat {
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* {@return the {@code DigitList} used by this {@code DecimalFormat} instance}
|
||||
* Declared as package-private, intended for {@code CompactNumberFormat}.
|
||||
*/
|
||||
DigitList getDigitList() {
|
||||
return digitList;
|
||||
}
|
||||
|
||||
// ======== End fast-path formatting logic for double =========================
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue