-
Bug
-
Resolution: Fixed
-
P4
-
1.2.0
-
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.
======================================================================
- relates to
-
JDK-4236063 java.awt.font.GlyphVector.getGlyphPosition(int glyphIndex) has doc problem
-
- Closed
-