Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8337327

[Accessibility, macOS] String IOOBE when typing in TextArea/TextField

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3 P3
    • tbd
    • jfx24
    • javafx

      StringIndexOutOfBoundsException is observed in TextArea and TextField.

      Steps:
      1. Launch VoiceOver
      2. Launch any app with TextArea or TextField, and
      3. Randomly type/delete/select/deselect the text
      => Observe String IOOBE on terminal.
      I could not determine a definite steps.

      Exception in thread "JavaFX Application Thread" java.lang.StringIndexOutOfBoundsException: Range [0, 95) out of bounds for length 94
      at java.base/jdk.internal.util.Preconditions$1.apply(Preconditions.java:55)
      at java.base/jdk.internal.util.Preconditions$1.apply(Preconditions.java:52)
      at java.base/jdk.internal.util.Preconditions$4.apply(Preconditions.java:213)
      at java.base/jdk.internal.util.Preconditions$4.apply(Preconditions.java:210)
      at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:98)
      at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckFromToIndex(Preconditions.java:112)
      at java.base/jdk.internal.util.Preconditions.checkFromToIndex(Preconditions.java:349)
      at java.base/java.lang.String.checkBoundsBeginEnd(String.java:4861)
      at java.base/java.lang.String.substring(String.java:2830)
      at javafx.graphics@24-internal/com.sun.glass.ui.mac.MacAccessible.accessibilityAttributeValueForParameter(MacAccessible.java:1837)

            kizune Alexander Zuev
            arapte Ambarish Rapte
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: