57 Commits

Author SHA1 Message Date
Naoto Sato
129277653e 8281317: CompactNumberFormat displays 4-digit values when rounding to a new range
Reviewed-by: joehw
2022-02-17 19:03:08 +00:00
Joe Darcy
4dbebb62aa 8280534: Enable compile-time doclint reference checking
Reviewed-by: serb, naoto, mchung, lancea, iris
2022-01-31 23:22:38 +00:00
Joe Darcy
8e82d0021c 8280492: Use cross-module syntax for cross-module links
Reviewed-by: iris, serb, lancea, dfuchs, aivanov
2022-01-24 20:16:38 +00:00
Pavel Rappo
f180530935 8279918: Fix various doc typos
Reviewed-by: kevinw, lancea, mullan, sspitsyn, naoto, jlahoda, azvegint, egahlin, jjg
2022-01-14 16:10:14 +00:00
Naoto Sato
0c409cac78 8276186: Require getAvailableLocales() methods to include Locale.ROOT
Reviewed-by: prappo, smarks, iris
2021-11-10 20:52:11 +00:00
Andrey Turbanov
9a3e954299 8274879: Replace uses of StringBuffer with StringBuilder within java.base classes
Reviewed-by: naoto
2021-10-27 16:18:12 +00:00
Andrey Turbanov
56b8b35286 8273261: Replace 'while' cycles with iterator with enhanced-for in java.base
Reviewed-by: dfuchs, rriggs, iris, mullan
2021-09-23 20:04:36 +00:00
Naoto Sato
c43452859d 8273546: DecimalFormat documentation contains literal HTML character references
Reviewed-by: joehw, bpb, iris, lancea
2021-09-23 12:48:49 +00:00
Andrey Turbanov
51c1b9a687 8272616: Strange code in java.text.DecimalFormat#applyPattern
Reviewed-by: bpb, naoto, iris
2021-08-19 15:57:18 +00:00
Claes Redestad
30b0f820ce 8272626: Avoid C-style array declarations in java.*
Reviewed-by: dfuchs, alanb
2021-08-18 10:47:03 +00:00
Naoto Sato
54dd510bd5 8269704: Typo in j.t.Normalizer.normalize()
Reviewed-by: joehw, prappo, iris
2021-07-01 12:08:21 +00:00
Patrick Concannon
4eb216824f 8267670: Update java.io, java.math, and java.text to use switch expressions
Reviewed-by: darcy, chegar, naoto, iris, dfuchs, lancea, vtewari
2021-06-01 10:14:56 +00:00
Naoto Sato
96e5c3f1e0 8263890: Broken links to Unicode.org
Reviewed-by: redestad, joehw, iris
2021-03-19 21:48:36 +00:00
Alex Blewitt
b49c589340 8263658: Use the blessed modifier order in java.base
Reviewed-by: rriggs, redestad
2021-03-19 13:06:58 +00:00
Patrick Concannon
0f2402d0a2 8263190: Update java.io, java.math, and java.text to use instanceof pattern variable
Reviewed-by: lancea, bpb, darcy, naoto, iris, dfuchs, smarks, redestad
2021-03-09 11:09:06 +00:00
Naoto Sato
8a1c712c2e 8261728: SimpleDateFormat should link to DateTimeFormatter
Reviewed-by: bpb, rriggs, lancea, iris
2021-02-19 16:44:38 +00:00
Naoto Sato
cd73939b79 8259528: Broken Link for [java.text.Normalizer.Form]
Reviewed-by: lancea, joehw, iris
2021-01-11 22:02:46 +00:00
Naoto Sato
2c3a2bed6d 8211449: Correction to the spec of implicit negative subpattern in DecimalFormat
Reviewed-by: bpb
2020-11-20 17:10:00 +00:00
Naoto Sato
68138893a5 8251317: Support for CLDR version 38
Reviewed-by: erikj, bchristi, joehw
2020-11-19 22:41:11 +00:00
Naoto Sato
bf84dac4cf 8247781: Day periods support
Reviewed-by: scolebourne, rriggs, joehw
2020-11-16 23:12:45 +00:00
Naoto Sato
bddb82255c 8253240: No javadoc for DecimalFormatSymbols.hashCode()
Reviewed-by: rriggs, lancea
2020-09-22 22:59:07 +00:00
Naoto Sato
2914064cf4 8252552: DecimalFormat javadoc contains HTML tags in example code
Reviewed-by: lancea, joehw
2020-08-31 15:32:29 -07:00
Naoto Sato
49e7609da2 8251499: no-placeholder compact number patterns throw IllegalArgumentException
Reviewed-by: joehw, rriggs
2020-08-19 13:41:08 -07:00
Naoto Sato
9697772b1f 8243664: JavaDoc of CompactNumberFormat points to wrong enum
Reviewed-by: rriggs, joehw
2020-04-27 14:03:45 -07:00
Naoto Sato
62060fc278 8242337: javadoc typo in NumberFormat::setMinimumFractionDigits
Reviewed-by: lancea, martin
2020-04-08 11:40:33 -07:00
Pavel Rappo
4c4271f283 8242230: Whitespace typos, relaxed javadoc, formatting
Reviewed-by: darcy, igerasim
2020-04-08 11:16:56 +01:00
Ivan Gerasimov
b0e1ee4b3b 8241727: Typos: empty lines in javadoc, inconsistent indents, etc. (core-libs only)
Reviewed-by: prappo
2020-03-28 21:07:55 -07:00
Pavel Rappo
17ff85d4ad 8241014: Miscellaneous typos in documentation comments
Reviewed-by: igerasim, prappo, psandoz, rriggs, weijun
2020-03-20 20:54:56 +00:00
Clive Verghese
e7e182a318 8235699: ArrayIndexOutOfBoundsException in CalendarBuilder.toString
Reviewed-by: phh, alanb, weijun, simonis, rriggs
2020-02-05 16:39:45 +01:00
Naoto Sato
1b24cf800f 8174270: Consolidate ICU sources in one location
Reviewed-by: srl, joehw
2020-01-13 08:05:59 -08:00
Naoto Sato
2e237e35fd 8227313: Support monetary grouping separator in DecimalFormat/DecimalFormatSymbols
Reviewed-by: joehw
2020-01-06 10:31:20 -08:00
Naoto Sato
730d0ecf19 8222756: Plural support in CompactNumberFormat
Reviewed-by: joehw, rriggs
2019-12-05 13:10:18 -08:00
Julia Boes
a8a2246158 8234335: Remove line break in class declaration in java.base
Remove line break in class declarations where applicable

Reviewed-by: rriggs, lancea
2019-11-21 09:10:21 +00:00
Naoto Sato
406c2a9b00 8212749: DecimalFormat.setGroupingSize(int) allows setting negative grouping size
8231984: Clarify semantics of DecimalFormat.getGroupingSize(0)

Reviewed-by: rriggs
2019-10-15 09:25:59 -07:00
Julia Boes
d15a57b842 8231186: Replace html tag <code>foo</code> with javadoc tag {@code foo} in java.base
Minor coding style update of javadoc tag in any file in java.base

Reviewed-by: bchristi, lancea
2019-09-24 09:43:43 +01:00
Julia Boes
b15b322cf3 8230648: Replace @exception tag with @throws in java.base
Minor coding style update of javadoc tag in any file in java.base

Reviewed-by: prappo, lancea
2019-09-20 11:07:52 +01:00
Joe Darcy
9d764ee48e 8229997: Apply java.io.Serial annotations in java.base
Reviewed-by: alanb, rriggs
2019-08-29 16:31:34 -07:00
Ivan Gerasimov
3ed845784d 8226831: Use Objects.equals() when appropriate
Reviewed-by: rriggs, bpb
2019-08-27 14:44:21 -07:00
Naoto Sato
865afd7fda 8215181: Accounting currency format support
Reviewed-by: lancea, rriggs
2019-08-07 14:56:26 -07:00
Naoto Sato
dc3c9c8439 8220224: With CLDR provider, NumberFormat.format could not handle locale with number extension correctly
Reviewed-by: darcy
2019-03-22 09:31:36 -07:00
Jonathan Gibbons
2df0f4b4dd 8220249: fix headings in java.compiler
Reviewed-by: erikj, darcy
2019-03-20 15:35:26 -07:00
Nishit Jain
0b082fcc1d 8217254: CompactNumberFormat:: CompactNumberFormat​() constructor does not comply with spec
8217721: CompactNumberFormat:: format​() method spec for IAEx is not complaint

Reviewed-by: naoto
2019-03-11 14:22:23 +05:30
Naoto Sato
0623444ae5 8216969: ParseException thrown for certain months with russian locale
Reviewed-by: rriggs
2019-01-22 15:22:13 -08:00
Claes Redestad
a3df1d618e 8215281: Use String.isEmpty() when applicable in java.base
Reviewed-by: dfuchs, alanb
2018-12-13 15:31:05 +01:00
Nishit Jain
4a28e27fd2 8177552: Compact Number Formatting support
Reviewed-by: naoto, rriggs
2018-12-06 12:39:28 +05:30
Ivan Gerasimov
27e26fbdd7 8210786: Typo s/overriden/overridden/ in several places
Reviewed-by: weijun
2018-09-15 22:02:08 -07:00
Nishit Jain
b2a6aa3e80 8208560: ChoiceFormat class has unused constants needs cleanup
Reviewed-by: rriggs, naoto
2018-08-01 18:02:25 +05:30
Nishit Jain
c1bbdfaa2c 8021322: [Fmt-Ch] Implementation of ChoiceFormat math methods should delegate to java.lang.Math methods
Reviewed-by: naoto, darcy
2018-07-27 14:20:07 +05:30
Nishit Jain
0cb3d46cd7 8193444: SimpleDateFormat throws ArrayIndexOutOfBoundsException when format contains long sequences of unicode characters
Reviewed-by: naoto, rriggs
2018-07-13 14:04:59 +05:30
Naoto Sato
fafd844bc6 8181157: CLDR Timezone name fallback implementation
Reviewed-by: sherman, scolebourne
2018-04-26 12:39:15 -07:00