RFR: 8269026: PasswordField doesn't render bullet character on Android
Kevin Rushforth
kcr at openjdk.java.net
Fri Jun 18 14:27:35 UTC 2021
On Fri, 18 Jun 2021 14:08:25 GMT, Jose Pereda <jpereda at openjdk.org> wrote:
> This PR modifies the PasswordField's bullet character used on Android, as the current unicode code is not supported for most fonts, including Roboto.
Marked as reviewed by kcr (Lead).
modules/javafx.controls/src/android/java/javafx/scene/control/skin/TextFieldSkinAndroid.java line 82:
> 80: return String.valueOf(BULLET).repeat(txt.length());
> 81: } else {
> 82: return txt;
Should this call `return super.maskText(txt);` in case the implementation of the superclass method ever changes? Either is OK with me.
-------------
PR: https://git.openjdk.java.net/jfx/pull/537
More information about the openjfx-dev
mailing list