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

ArrayindexoutOfBoundsException from Parent.updateCachedBounds

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 8u5, 8u20
    • Fix Version/s: 8u40
    • Component/s: javafx
    • Labels:

      Description

      While porting an application from JavaFX 2.2 to JavaFX8, I get an ArrayIndexOutOfBoundsException.
      It comes from the for-loop within Parent.updateCachedBounds: It keeps counting down beyond 0, as one of my dirtyNodes seems to have node.boundsChanged==false. Looking at the code, the for-loop seems to lack a guard against this condition.

        Attachments

          Activity

            People

            Assignee:
            msladecek Martin Sládeček
            Reporter:
            jkoehnleijfx Jan Koehnlein (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported: