On Thu, 17 Dec 2020 17:19:19 GMT, Prasanta Sadhukhan <psadhuk...@openjdk.org> 
wrote:

>> - The JTextComponent.setText() is overidden in the JPasswordField to make 
>> the "text" property non-"bound" in the JPasswordField, same as in the 
>> JTextComponent
>>  - The new implementation of setText() clean an internal data storage
>>  - Also some internal caches are cleaned as well
>
> src/java.desktop/share/classes/javax/swing/JPasswordField.java line 286:
> 
>> 284:     @BeanProperty(bound = false, description = "the text of this 
>> component")
>> 285:     public void setText(String t) {
>> 286:         // overwrite the old data first
> 
> If we dont have javadoc for a public method, wouldn't build like make-docs 
> fail?

"make docs" works fine.

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

PR: https://git.openjdk.java.net/jdk16/pull/39

Reply via email to