RFR: JDK-6229853: BasicTextAreaUI:create method are contrary to the documentation

Prasanta Sadhukhan psadhukhan at openjdk.org
Wed Sep 21 12:35:05 UTC 2022


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.

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

Commit messages:
 - JDK-6229853: BasicTextAreaUI:create method are contrary to the documentation

Changes: https://git.openjdk.org/jdk/pull/10376/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=10376&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-6229853
  Stats: 2 lines in 1 file changed: 1 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/10376.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/10376/head:pull/10376

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



More information about the client-libs-dev mailing list