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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 8
    • 7u6
    • javafx
    • 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.

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

              Created:
              Updated:
              Resolved:
              Imported: