Commit graph

156 commits

Author SHA1 Message Date
Hannes Wallnöfer
ceae2b977d 8347121: Add missing @serial tags to module java.base
Reviewed-by: alanb
2025-01-09 11:49:18 +00:00
Magnus Ihse Bursie
ddf0461788 8345799: Update copyright year to 2024 for core-libs in files where it was missed
Reviewed-by: joehw, jlu, mli, lancea, kevinw
2024-12-11 21:08:22 +00:00
Justin Lu
7af46a6b42 8340554: Improve MessageFormat readObject checks
Reviewed-by: naoto
2024-10-24 16:17:43 +00:00
Justin Lu
c61d2c5a34 8341445: DecimalFormatSymbols setters should throw NPE
Reviewed-by: naoto
2024-10-22 17:21:38 +00:00
Justin Lu
51a7ff6594 8335271: Specify the MessageFormat ArgumentIndex Implementation Limit
Reviewed-by: darcy, iris, naoto, rriggs
2024-10-21 17:08:50 +00:00
Justin Lu
d9f6383037 8331446: Improve deserialization support
Reviewed-by: rhalade, skoivu, rriggs, naoto
2024-10-15 17:04:27 +05:30
Justin Lu
b840b130df 8338882: Clarify matching order of MessageFormat subformat factory styles
Reviewed-by: naoto
2024-08-30 18:28:53 +00:00
Naoto Sato
fa4ff78bd4 8338690: CompactNumberInstance.format incorrectly formats some numbers (few vs many)
Reviewed-by: joehw, rriggs, jlu
2024-08-27 15:34:50 +00:00
Andrey Turbanov
60c9b5cd9f 8337839: Make a few fields in MergeCollation static
Reviewed-by: jpai, naoto
2024-08-16 08:49:18 +00:00
Justin Lu
bd36b6ae5d 8337285: Examine java.text.DecimalFormat API for api/implXxx tag usage
Reviewed-by: naoto, liach
2024-07-29 19:28:14 +00:00
Justin Lu
5a8861a3a1 8336847: Use pattern match switch in NumberFormat classes
Reviewed-by: liach, naoto
2024-07-24 20:14:00 +00:00
Justin Lu
9e8e359513 8336787: Examine java.text.Format API for implSpec usage
Reviewed-by: liach
2024-07-24 20:08:13 +00:00
Nizar Benalla
92de2b2d5f 8336039: Doccheck: HTML warnings, broken links and missing files in java.base documentation
Reviewed-by: liach, djelinski
2024-07-22 13:27:12 +00:00
lingjun.cg
4da9915875 8333396: Use StringBuilder internally for java.text.Format.* formatting
Reviewed-by: naoto, liach, jlu
2024-07-22 02:01:08 +00:00
Naoto Sato
10186ff48f 8336300: DateFormatSymbols#getInstanceRef returns non-cached instance
Reviewed-by: joehw, iris, jlu, aturbanov
2024-07-17 16:25:36 +00:00
Justin Lu
5100303c6c 8335668: NumberFormat integer only parsing should throw exception for edge case
Reviewed-by: naoto
2024-07-11 18:40:40 +00:00
Nizar Benalla
f4fa35e28b 8330954: since-checker - Fix remaining @ since tags in java.base
Reviewed-by: liach, naoto
2024-07-04 15:44:57 +00:00
Justin Lu
bffc8484c3 8333755: NumberFormat integer only parsing breaks when format has suffix
Reviewed-by: naoto
2024-06-26 17:10:09 +00:00
Justin Lu
6238bc8da2 8333456: CompactNumberFormat integer parsing fails when string has no suffix
Reviewed-by: naoto
2024-06-06 20:34:46 +00:00
lingjun.cg
d826127970 8333462: Performance regression of new DecimalFormat() when compare to jdk11
Reviewed-by: liach, naoto, jlu
2024-06-05 01:51:20 +00:00
Justin Lu
ffb0867e2c 8331485: Odd Results when Parsing Scientific Notation with Large Exponent
8331680: NumberFormat is missing some bad exponent strict parse cases

Reviewed-by: naoto
2024-05-30 20:05:22 +00:00
Justin Lu
a863ef5d74 8331207: Misleading example in DateFormat#parse docs
Reviewed-by: naoto
2024-04-30 16:50:01 +00:00
Justin Lu
f60798a30e 8329222: java.text.NumberFormat (and subclasses) spec updates
Reviewed-by: naoto
2024-04-23 21:10:46 +00:00
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