Integrated: JDK-6229853: BasicTextAreaUI:create incompletely documents the possible returned View types

Prasanta Sadhukhan psadhukhan at openjdk.org
Tue Oct 18 05:16:04 UTC 2022


On Wed, 21 Sep 2022 12:25:48 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

> API specification says about BasicTextAreaUI.create "Returns a WrappedPlainView or PlainView". 
> But for [bidi](https://github.com/openjdk/jdk/blob/d14e96d9701dae951aa365029f58afb6687a646a/src/java.desktop/share/classes/javax/swing/plaf/basic/BasicTextAreaUI.java#L168) text, this method returns BoxView and other views , so the documentation needs to be updated.

This pull request has now been integrated.

Changeset: c33ca0c5
Author:    Prasanta Sadhukhan <psadhukhan at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/c33ca0c5edd60454c58916cb588e5b2cfcc7b36a
Stats:     5 lines in 2 files changed: 0 ins; 1 del; 4 mod

6229853: BasicTextAreaUI:create incompletely documents the possible returned View types

Reviewed-by: aivanov, prr

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

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



More information about the client-libs-dev mailing list