133 Commits

Author SHA1 Message Date
Justin Lu
941bee197f 8327640: Allow NumberFormat strict parsing
Reviewed-by: naoto
2024-04-16 16:18:09 +00:00
Naoto Sato
2ede14335a 8330279: Typo in java.text.Bidi class description
Reviewed-by: iris, joehw
2024-04-16 16:04:43 +00:00
Justin Lu
0cb0b5db2a 8327875: ChoiceFormat should advise throwing UnsupportedOperationException for unused methods
Reviewed-by: naoto
2024-03-27 21:13:28 +00:00
Naoto Sato
586396cbb5 8327705: Remove mention of "applet" from java.text package description
Reviewed-by: bpb, rriggs, iris, jlu, gli, alanb
2024-03-11 21:23:08 +00:00
Justin Lu
6efdaf8ddf 8326908: DecimalFormat::toPattern throws OutOfMemoryError when pattern is empty string
Reviewed-by: naoto
2024-03-08 18:09:42 +00:00
Justin Lu
b665fe3ac1 6801704: ChoiceFormat::applyPattern inconsistency for invalid patterns
Reviewed-by: naoto
2024-03-05 22:37:58 +00:00
Justin Lu
d22d890cac 8325898: ChoiceFormat returns erroneous result when formatting bad pattern
Reviewed-by: naoto
2024-02-26 23:43:52 +00:00
Justin Lu
00ffc42cef 8318761: MessageFormat pattern support for CompactNumberFormat, ListFormat, and DateTimeFormatter
Reviewed-by: naoto, rriggs
2024-02-22 22:27:12 +00:00
Joe Darcy
fbd15b2087 8325189: Enable this-escape javac warning in java.base
Reviewed-by: alanb, erikj, naoto, smarks, ihse, joehw, lancea, weijun
2024-02-07 20:05:11 +00:00
Naoto Sato
96eb0390d6 8324665: Loose matching of space separators in the lenient date/time parsing mode
Reviewed-by: joehw, jlu
2024-02-06 17:43:12 +00:00
Archie Cobbs
f1f93988fb 8323699: MessageFormat.toPattern() generates non-equivalent MessageFormat pattern
Reviewed-by: jlu, naoto
2024-02-05 23:14:50 +00:00
Justin Lu
d3c3194ac3 6285888: ChoiceFormat can support unescaped relational symbols in the Format segment
Reviewed-by: naoto
2024-02-01 22:21:45 +00:00
Justin Lu
3d32c460eb 6503196: API doc for DecimalFormat::getMaximumIntegerDigits is unclear
Reviewed-by: naoto, iris
2024-01-24 23:42:53 +00:00
Justin Lu
96607df7f0 8321545: Override toString() for Format subclasses
Reviewed-by: naoto, rriggs
2024-01-23 22:22:16 +00:00
Justin Lu
aadf36809c 6230751: [Fmt-Ch] Recursive MessageFormats in ChoiceFormats ignore indicated subformats
Reviewed-by: naoto
2023-12-12 19:25:20 +00:00
Naoto Sato
f6be7fdf22 8321059: Unneeded array assignments in MergeCollation and CompactByteArray
Reviewed-by: jlu, bpb, rriggs
2023-12-01 17:43:28 +00:00
Naoto Sato
891d8cfaf2 8319986: Invalid/inconsistent description and example for DateFormat
Reviewed-by: joehw, rriggs, jlu, iris, lancea
2023-11-15 18:51:25 +00:00
Justin Lu
d5abe49670 8319628: DateFormat does not mention IllegalArgumentException for invalid style args
Reviewed-by: naoto
2023-11-14 23:37:28 +00:00
Justin Lu
caf71810f8 8318189: ChoiceFormat::format throws undocumented AIOOBE
Reviewed-by: naoto
2023-11-12 21:39:43 +00:00
Justin Lu
ea6a88a0aa 8318466: Improve spec of NumberFormat's methods with unsupported operations
Reviewed-by: naoto, iris
2023-11-03 17:32:51 +00:00
Hannes Wallnöfer
2d4a4d04b8 8315921: Invalid CSS declarations in java.lang class documentation
Reviewed-by: jpai, alanb
2023-11-02 11:53:54 +00:00
Justin Lu
ee57e731d0 8317612: ChoiceFormat and MessageFormat constructors call non-final public method
Reviewed-by: naoto, lancea
2023-11-01 21:29:45 +00:00
Justin Lu
ca3bdfc0c7 8318186: ChoiceFormat inconsistency between applyPattern() and setChoices()
Reviewed-by: naoto
2023-10-25 17:12:37 +00:00
Naoto Sato
a5208870e1 8318487: Specification of the ListFormat.equals() method can be improved
Reviewed-by: joehw, rriggs, lancea, iris
2023-10-25 16:50:31 +00:00
Naoto Sato
116503754c 8318569: Add getter methods for Locale and Patterns in ListFormat
Reviewed-by: joehw, rriggs, iris, mli
2023-10-24 16:54:57 +00:00
Justin Lu
4dfa3799a6 7061097: [Doc] Inconsistenency between the spec and the implementation for DateFormat.Field
Reviewed-by: naoto
2023-10-20 17:37:51 +00:00
Justin Lu
684b91efbb 8315064: j.text.ChoiceFormat provides no specification on quoting behavior
Reviewed-by: naoto
2023-10-19 22:53:07 +00:00
Naoto Sato
1f06325142 8317471: ListFormat::parseObject() spec can be improved on parsePosition valid values
Reviewed-by: iris, lancea, joehw, mli
2023-10-09 16:29:40 +00:00
Naoto Sato
1809b8cdd6 8317265: ListFormat::format specification could be made clearer regarding handling IllegalArgumentException.
Reviewed-by: joehw
2023-10-03 18:32:57 +00:00
Justin Lu
8fcf70e931 5066247: Refine the spec of equals() and hashCode() for j.text.Format classes
Reviewed-by: naoto, darcy
2023-10-02 05:06:45 +00:00
Naoto Sato
3481a48571 8316974: ListFormat creation is unsuccessful for some of the supported Locales
Reviewed-by: joehw, rriggs
2023-09-28 16:04:46 +00:00
Justin Lu
ef49e6c0d7 8316629: j.text.DateFormatSymbols setZoneStrings() exception is unhelpful
Reviewed-by: naoto
2023-09-21 21:31:37 +00:00
Pavel Rappo
c92bdb0e91 8316187: Modernize examples in StringTokenizer and {Date,Number}Format
Reviewed-by: naoto
2023-09-16 07:51:34 +00:00
Justin Lu
ce93d27fe5 6228794: java.text.ChoiceFormat pattern behavior is not well documented.
Reviewed-by: naoto
2023-09-13 20:32:21 +00:00
Justin Lu
dde11551e2 8315946: DecimalFormat and CompactNumberFormat do allow U+FFFE and U+FFFF in the pattern
Reviewed-by: naoto
2023-09-12 22:59:34 +00:00
Naoto Sato
d0be73a780 8041488: Locale-Dependent List Patterns
Reviewed-by: joehw, rriggs
2023-09-11 16:48:22 +00:00
Justin Lu
9b0da48915 8315410: Undocumented exceptions in java.text.StringCharacterIterator
Reviewed-by: naoto
2023-09-08 23:05:00 +00:00
Justin Lu
86a18f5e2e 8314604: j.text.DecimalFormat behavior regarding patterns is not clear
Reviewed-by: naoto
2023-09-06 18:02:39 +00:00
Justin Lu
7754ac0506 8314925: ChoiceFormat does not specify IllegalArgumentExceptions
Reviewed-by: naoto
2023-08-31 23:02:26 +00:00
Justin Lu
d5973bdb98 6333341: [BI] Doc: java.text.BreakIterator class specification is unclear
Reviewed-by: naoto
2023-08-31 21:43:09 +00:00
Justin Lu
96778dd549 8314169: Combine related RoundingMode logic in j.text.DigitList
Reviewed-by: naoto
2023-08-17 22:41:21 +00:00
Justin Lu
23755f90c9 8312411: MessageFormat.formatToCharacterIterator() can be improved
Reviewed-by: naoto
2023-07-28 17:33:20 +00:00
Justin Lu
c6396dceb9 8039165: [Doc] MessageFormat null locale generates NullPointerException
Reviewed-by: naoto
2023-07-25 18:26:23 +00:00
Pavel Rappo
1dfb0fb3e2 8311188: Simplify and modernize equals and hashCode in java.text
Reviewed-by: lancea, naoto, rriggs
2023-07-18 15:12:09 +00:00
Justin Lu
6cb9ec32a6 6960866: [Fmt-Ch] ChoiceFormat claims impossible and unimplemented functionality
Reviewed-by: naoto
2023-07-11 17:12:02 +00:00
Pavel Rappo
7b3c2dc5f4 8311122: Fix typos in java.base
Reviewed-by: darcy, naoto, mchung, iris, mli, mullan
2023-07-04 19:03:09 +00:00
Jonathan Gibbons
6f492e8005 8309686: inconsistent URL for https://www.unicode.org/reports/tr35
Reviewed-by: naoto
2023-06-08 22:16:42 +00:00
Naoto Sato
1264902517 8308316: Default decomposition mode in Collator
Reviewed-by: rriggs
2023-05-31 15:56:40 +00:00
Justin Lu
46c4da7fdd 8159023: Engineering notation of DecimalFormat does not work as documented
Reviewed-by: naoto
2023-05-25 21:54:58 +00:00
Naoto Sato
27ba8bd4ed 8308108: Support Unicode extension for collation settings
Reviewed-by: iris, rriggs, jlu, alanb
2023-05-25 17:20:02 +00:00