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

Naoto Sato naoto at openjdk.org
Fri Mar 24 22:09:32 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()`.

Looks good. Please add `noreg-doc` label to the issue.

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

Marked as reviewed by naoto (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/13083#pullrequestreview-1357494038


More information about the i18n-dev mailing list