<Swing Dev> [jdk17] RFR: 8268775: Password is being converted to String in AccessibleJPasswordField

Alexander Zuev kizune at openjdk.java.net
Sat Jun 26 01:21:58 UTC 2021


On Wed, 23 Jun 2021 21:30:15 GMT, Vest <github.com+1671049+Vest at openjdk.org> wrote:

> I don’t know if calling same methods in a single line makes this control more secure

As i said above this exact change is not about making code more secure - it is just to eliminate additional variable that has no purpose after the second half of the method is changed. I would say that it would add to the supportability if we do anything with this information - but we don't.

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

PR: https://git.openjdk.java.net/jdk17/pull/127


More information about the swing-dev mailing list