RFR: 8330462: StringIndexOutOfBoundException when typing anything into TextField
Oliver Kopp
duke at openjdk.org
Thu Apr 18 18:23:04 UTC 2024
On Thu, 18 Apr 2024 14:44:12 GMT, Andy Goryachev <angorya at openjdk.org> wrote:
> would this fix need to be backported? how far back?
Yes - JavaFX 22 would be helpful for me.
`8u20-b12` was the first tag appearing with that code. -- I checked "git blame" https://github.com/openjdk/jfx/blame/master/modules/javafx.graphics/src/main/java/com/sun/glass/ui/win/WinTextRangeProvider.java. The commit https://github.com/openjdk/jfx/commit/d66a6dd06eeb199e2e1078f562a8d51de67e4510#diff-17176994e11e44400ad30a7092a1fd738b268811b275884b946e11ce2448c379 changed the implementation from a dummy (`return null;`) to something more meaningful. - I did not find the exact releases.
Since [EOL of JavaFX in Java 8](https://www.oracle.com/uk/java/technologies/java-se-support-roadmap.html) is less than 12 months from now, I would not do it.
-------------
PR Comment: https://git.openjdk.org/jfx/pull/1442#issuecomment-2064833330
More information about the openjfx-dev
mailing list