Integrated: 8353322: Specification of ChoiceFormat#parse(String, ParsePosition) is inadequate

Justin Lu jlu at openjdk.org
Mon Apr 7 20:48:17 UTC 2025


On Tue, 1 Apr 2025 16:45:26 GMT, Justin Lu <jlu at openjdk.org> wrote:

> Please review this PR which specifies the `ChoiceFormat#parse(String, ParsePosition)` method. A corresponding CSR is filed. The current specification is simply "Parses a Number from the input text" which does not indicate how the value is returned. The criteria for a match, as well as no match should be made clear.

This pull request has now been integrated.

Changeset: a8dfcf55
Author:    Justin Lu <jlu at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/a8dfcf55849775a7ac4822a8b7661f20f1b33bb0
Stats:     17 lines in 1 file changed: 14 ins; 0 del; 3 mod

8353322: Specification of ChoiceFormat#parse(String, ParsePosition) is inadequate

Reviewed-by: naoto

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

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


More information about the core-libs-dev mailing list