Integrated: 8329222: java.text.NumberFormat (and subclasses) spec updates

Justin Lu jlu at openjdk.org
Tue Apr 23 21:13:33 UTC 2024


On Wed, 10 Apr 2024 20:16:50 GMT, Justin Lu <jlu at openjdk.org> wrote:

> Please review this PR which is a large spec reformatting for _java.text.NumberFormat_ and related subclasses, specifically DecimalFormat and CompactNumberFormat.
> 
> The motivation for this change was the difficulty of readability for these classes. This PR consists of changes such as better separating the text into sections with headers, advising to skip the pattern related sections if not needed, and general wording improvements.
> 
> To help with reviewing I have attached a [specdiff](https://cr.openjdk.org/~jlu/JDK-8329222/java.base/java/text/package-summary.html) as well as the built docs: [nFmt](https://cr.openjdk.org/~jlu/api/java.base/java/text/NumberFormat.html), [dFmt](https://cr.openjdk.org/~jlu/api/java.base/java/text/DecimalFormat.html), and [cnFmt](https://cr.openjdk.org/~jlu/api/java.base/java/text/CompactNumberFormat.html);
> 
> I will update the CSR once the wording is finalized.

This pull request has now been integrated.

Changeset: f60798a3
Author:    Justin Lu <jlu at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/f60798a30e9a3e0b666fed5384b6ac92a8a283dd
Stats:     598 lines in 3 files changed: 234 ins; 204 del; 160 mod

8329222: java.text.NumberFormat (and subclasses) spec updates

Reviewed-by: naoto

-------------

PR: https://git.openjdk.org/jdk/pull/18731


More information about the core-libs-dev mailing list