ArrayIndexOutOfBoundsException for Polygon and Polyline on Canvas with number of points greater than 256

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 8
    • Affects Version/s: 7u6
    • Component/s: javafx
    • Environment:

      Windows XP SP3, JDK 1.7u11

      In a canvas, when using strokePolygon, strokePolyline or fillPolygon method, the number of points can not exceed 256 otherwise an ArrayIndexOutOfBoundsException exception is thrown.

      I was able to reproduce this problem in the JDK 8 b76.

            Assignee:
            Joe Andresen (Inactive)
            Reporter:
            J. Duke
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: