[jdk20] RFR: 8301989: new javax.swing.text.DefaultCaret().setBlinkRate(N) results in NPE [v2]

Phil Race prr at openjdk.org
Wed Feb 8 23:16:54 UTC 2023


On Wed, 8 Feb 2023 23:07:40 GMT, Alexander Zuev <kizune at openjdk.org> wrote:

> > How do you tell that apart from the app directly clearing it ? ie the APP calling setBlinkRate(0) ?
> 
> I do not - while component is non-editable you can not change blink rate to 0, once the component will become editable the last non-zero value will be restored.

But that seems wrong. Why is it not wrong ?

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

PR: https://git.openjdk.org/jdk20/pull/122



More information about the client-libs-dev mailing list