On Fri, 17 Mar 2023 18:22:17 GMT, Justin Lu <j...@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 <j...@openjdk.org> Committer: Naoto Sato <na...@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