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

ArrayindexoutOfBoundsException from Parent.updateCachedBounds

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved:
              Imported: