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

java.awt.font.GlyphVector has doc problem

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.2.2
    • 1.2.0
    • docs
    • 1.2.2
    • generic
    • generic



      Name: pkC79091 Date: 12/09/98

      The following methods of java.awt.font.GlyphVector throw
      ArrayIndexOutOfBoundException when the int argument glyphIndex has
      illegal value while spec does not mention it.
      The methods are- getGlyphCode(int glyphIndex), getGlyphMetrics(int
      glyphIndex), getGlyphPosition(int glyphIndex), setGlyphPosition(int
      glyphIndex,Point2D point).
      These methods were tested by passing -1 and the value of expression
      (getNumGlyphs()+1) as the value of int argument glyphIndex and
      ArrayIndexOutOfBoundsException was caught.
      ======================================================================

            dadairsunw Deborah Adair (Inactive)
            pkarthiksunw Pattabhiraman Karthik (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: