RFR: JDK-6229853: BasicTextAreaUI:create incompletely documents the possible returned View types [v2]

Alexey Ivanov aivanov at openjdk.org
Wed Sep 28 11:31:45 UTC 2022


On Wed, 28 Sep 2022 07:29:07 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

> I guess we can mention "Creates a view for an element." only. `Usually returns a WrappedPlainView.. ` can give problem to TCK team to create testcase for all scenario.

Then the current code shouldn't have passed the TCK as the spec requires either `WrappedView` or `PlainView`.

> Either we mention the full `returns WrappedView or PlainView. or ParagraphView or BoxView`

We can't specify it returns a package-private class.

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

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



More information about the client-libs-dev mailing list