On Tue, 29 Sep 2026 06:54:17 GMT, Sergey Bylokhov <[email protected]> wrote:

>> src/java.desktop/share/classes/sun/font/StandardGlyphVector.java line 433:
>> 
>>> 431:     // relative to gv origin
>>> 432:     public Shape getGlyphOutline(int ix) {
>>> 433:         if (ix < 0 || ix > glyphs.length) {
>> 
>> per the spec in the parent class it should be ">="?
>>>     * @throws IndexOutOfBoundsException if {@code glyphIndex}
>>>     *   is less than 0 or greater than or equal to the number
>>>     *   of glyphs in this {@code GlyphVector}
>
> btw seems the test does not cover some corner cases?

fixed

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/33078#discussion_r4138689617

Reply via email to