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

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 8
    • 7u6
    • javafx
    • Windows XP SP3, JDK 1.7u11

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:
                Imported: