Details
-
Bug
-
Resolution: Fixed
-
P3
-
jfx11, 8u40
-
b27
-
b04
-
x86_64
-
windows_10
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8297473 | jfx17.0.6 | Ambarish Rapte | P3 | Resolved | Fixed | |
JDK-8294757 | 8u361 | Ambarish Rapte | P3 | Resolved | Fixed | b02 |
JDK-8294892 | 8u351 | Ambarish Rapte | P3 | Closed | Fixed | b31 |
JDK-8297488 | jfx11.0.18 | Ambarish Rapte | P3 | Resolved | Fixed |
Description
Platform Tested : Windows 10 Pro
Is it regression : No
Reproducible: Always
Test result on the last GAed release for this train:
Fails With JDK 8u341b10 , JDK 8u331b09 , JDK 8u321b07 , JDK 8u40b27
Same StringIndexOutOfBoundsException along with NPE in case of TextArea
Same StringIndexOutOfBoundsException along with IAE in case of TextField
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1) Start attached test Main. .
2) Start Narrator ( Win + Ctrl + Enter)
3) In Textarea enter large text and start deleting by continuous Backspace key Press (i.e Pressing BackSpace Key and not releasing until some time)
Testing with TextField Component also produces the same exception.
Exception Log :
/cygdrive/c/work/repos/java_installations/64bit/jdk1.8.0_341b32/bin/java -showversion Main
java version "1.8.0_341"
Java(TM) SE Runtime Environment (build 1.8.0_341-b32)
Java HotSpot(TM) 64-Bit Server VM (build 25.341-b32, mixed mode)
Exception in thread "JavaFX Application Thread" java.lang.StringIndexOutOfBoundsException: String index out of range: 19
at java.lang.String.substring(String.java:1963)
at com.sun.glass.ui.win.WinTextRangeProvider.GetText(WinTextRangeProvider.java:355)
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at com.sun.glass.ui.win.WinApplication.lambda$null$4(WinApplication.java:185)
at java.lang.Thread.run(Thread.java:750)
Exception in thread "JavaFX Application Thread" java.lang.StringIndexOutOfBoundsException: String index out of range: 16
at java.lang.String.substring(String.java:1963)
at com.sun.glass.ui.win.WinTextRangeProvider.GetText(WinTextRangeProvider.java:355)
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at com.sun.glass.ui.win.WinApplication.lambda$null$4(WinApplication.java:185)
at java.lang.Thread.run(Thread.java:750)
Attachments
Issue Links
- backported by
-
JDK-8294757 [Accessibility] [Win] [Narrator] Exceptions When Deleting Text with Continuous Key Press in TextArea and TextField
-
- Resolved
-
-
JDK-8297473 [Accessibility] [Win] [Narrator] Exceptions When Deleting Text with Continuous Key Press in TextArea and TextField
-
- Resolved
-
-
JDK-8297488 [Accessibility] [Win] [Narrator] Exceptions When Deleting Text with Continuous Key Press in TextArea and TextField
-
- Resolved
-
-
JDK-8294892 [Accessibility] [Win] [Narrator] Exceptions When Deleting Text with Continuous Key Press in TextArea and TextField
-
- Closed
-
- relates to
-
JDK-8284281 [Accessibility] [Win] [Narrator] Exceptions with TextArea & TextField when deleted last char
-
- Resolved
-
- links to
-
Commit openjdk/jfx11u/e00d4fbb
-
Commit openjdk/jfx17u/b5b112ac
-
Commit openjdk/jfx/cc00c8d5
-
Review openjdk/jfx11u/122
-
Review openjdk/jfx17u/99
-
Review openjdk/jfx/907