<i18n dev> Integrated: 8177352: Calendar.getDisplayName(s) in non-lenient mode inconsistent, does not match spec

Justin Lu jlu at openjdk.org
Mon Mar 27 21:39:42 UTC 2023


On Fri, 17 Mar 2023 18:22:17 GMT, Justin Lu <jlu at openjdk.org> wrote:

> This PR updates the javadoc of `java.util.Calendar.getDisplayName()` and `java.util.Calendar.getDisplayNames()` to better reflect the actual behavior when the calendar is non-lenient.
> 
> This involves updating the spec of both methods to clarify behavior, as well as removing false behavior from the **throws** tag in `java.util.Calendar.getDisplayNames()`.

This pull request has now been integrated.

Changeset: f8e8fc7e
Author:    Justin Lu <jlu at openjdk.org>
Committer: Naoto Sato <naoto at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/f8e8fc7e29f9b27bc6031804f916c34b8ef5a83e
Stats:     16 lines in 1 file changed: 12 ins; 2 del; 2 mod

8177352: Calendar.getDisplayName(s) in non-lenient mode inconsistent, does not match spec

Reviewed-by: naoto

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

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


More information about the i18n-dev mailing list