mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8315946: DecimalFormat and CompactNumberFormat do allow U+FFFE and U+FFFF in the pattern
Reviewed-by: naoto
This commit is contained in:
parent
a9679acd5c
commit
dde11551e2
2 changed files with 8 additions and 6 deletions
|
@ -169,11 +169,11 @@ import java.util.stream.Collectors;
|
||||||
* <i>NegativePattern:</i>
|
* <i>NegativePattern:</i>
|
||||||
* <i>Prefix<sub>optional</sub></i> <i>MinimumInteger</i> <i>Suffix<sub>optional</sub></i>
|
* <i>Prefix<sub>optional</sub></i> <i>MinimumInteger</i> <i>Suffix<sub>optional</sub></i>
|
||||||
* <i>Prefix:</i>
|
* <i>Prefix:</i>
|
||||||
* Any Unicode characters except {@code U+FFFE}, {@code U+FFFF}, and
|
* Any characters except the {@linkplain
|
||||||
* {@linkplain DecimalFormat##special_pattern_character special characters}.
|
* DecimalFormat##special_pattern_character special pattern characters}
|
||||||
* <i>Suffix:</i>
|
* <i>Suffix:</i>
|
||||||
* Any Unicode characters except {@code U+FFFE}, {@code U+FFFF}, and
|
* Any characters except the {@linkplain
|
||||||
* {@linkplain DecimalFormat##special_pattern_character special characters}.
|
* DecimalFormat##special_pattern_character special pattern characters}
|
||||||
* <i>MinimumInteger:</i>
|
* <i>MinimumInteger:</i>
|
||||||
* 0
|
* 0
|
||||||
* 0 <i>MinimumInteger</i>
|
* 0 <i>MinimumInteger</i>
|
||||||
|
|
|
@ -105,9 +105,11 @@ import sun.util.locale.provider.ResourceBundleBasedAdapter;
|
||||||
* <i>NegativePattern:</i>
|
* <i>NegativePattern:</i>
|
||||||
* <i>Prefix<sub>opt</sub></i> <i>Number</i> <i>Suffix<sub>opt</sub></i>
|
* <i>Prefix<sub>opt</sub></i> <i>Number</i> <i>Suffix<sub>opt</sub></i>
|
||||||
* <i>Prefix:</i>
|
* <i>Prefix:</i>
|
||||||
* any Unicode characters except {@code U+FFFE}, {@code U+FFFF}, and special characters
|
* Any characters except the {@linkplain ##special_pattern_character
|
||||||
|
* special pattern characters}
|
||||||
* <i>Suffix:</i>
|
* <i>Suffix:</i>
|
||||||
* any Unicode characters except {@code U+FFFE}, {@code U+FFFF}, and special characters
|
* Any characters except the {@linkplain ##special_pattern_character
|
||||||
|
* special pattern characters}
|
||||||
* <i>Number:</i>
|
* <i>Number:</i>
|
||||||
* <i>Integer</i> <i>Exponent<sub>opt</sub></i>
|
* <i>Integer</i> <i>Exponent<sub>opt</sub></i>
|
||||||
* <i>Integer</i> . <i>Fraction</i> <i>Exponent<sub>opt</sub></i>
|
* <i>Integer</i> . <i>Fraction</i> <i>Exponent<sub>opt</sub></i>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue