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

FlatteningPathIterator constructor raises NegativeArraySizeException with large int arg

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • 6
    • client-libs
    • None
    • 2d
    • sparc
    • solaris

      When the following constructor from java.awt.geom.FlatteningPathIterator:

         public FlatteningPathIterator(PathIterator src, double flatness,
      int limit)

      is called with the limit argument set to Integer.MAX_VALUE, it throws java.lang.NegativeArraySizeException.

      This issue was reported to ###@###.### by E. Kellinis, but it is not considered a security issue (more details in the comments).

            avu Alexey Ushakov
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: