On Thu, 15 Dec 2022 20:09:35 GMT, Alexander Zvegintsev <[email protected]> wrote:
>> Alexander Zuev has updated the pull request incrementally with one >> additional commit since the last revision: >> >> Fixed MultiSelectionText so it is now stable on Linux >> Removed both fixed tests from ProblemList > > src/java.desktop/share/classes/javax/swing/text/DefaultCaret.java line 1050: > >> 1048: flasher = new Timer(rate, handler); >> 1049: } >> 1050: flasher.setDelay(rate); > > Coming back to negative rate, looks like this changes the previous behavior: > > Before the fix it did throw IAE in all cases: > > https://github.com/openjdk/jdk20/blob/ca39eb906692568347e7f264520593188f9276cf/src/java.desktop/share/classes/javax/swing/Timer.java#L397-L406 > > After the fix IAE is thrown only if component is editable<br> > In case of non-editable and may throw it way later after `setEditable(true)` > call and focus gain. Fixed. ------------- PR: https://git.openjdk.org/jdk20/pull/21
