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

ArrayindexoutOfBoundsException from Parent.updateCachedBounds

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 8u40
    • 8u5, 8u20
    • javafx

    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

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

            Dates

              Created:
              Updated:
              Resolved:
              Imported: