On Thu, 1 May 2025 18:54:53 GMT, Kevin Rushforth <[email protected]> wrote:
>> Andy Goryachev has updated the pull request incrementally with one
>> additional commit since the last revision:
>>
>> sealed
>
> modules/javafx.graphics/src/main/java/javafx/scene/text/CaretInfo.java line
> 60:
>
>> 58: * @return the bounds of the caret segment
>> 59: * @throws IndexOutOfBoundsException if the index is out of range
>> 60: * {@code (index < 0 || index > getSegmentCount())}
>
> Shouldn't this be `>= getSegmentCount()`.
(hangs head in shame)
-------------
PR Review Comment: https://git.openjdk.org/jfx/pull/1596#discussion_r2071913079