RFR: 8302797: ArrayIndexOutOfBoundsException in TextRun.getWrapIndex() [v3]
Andy Goryachev
angorya at openjdk.org
Wed Mar 8 20:55:17 UTC 2023
The message from this sender included one or more files
which could not be scanned for virus detection; do not
open these files unless you are certain of the sender's intent.
----------------------------------------------------------------------
On Wed, 8 Mar 2023 19:36:54 GMT, Phil Race <prr at openjdk.org> wrote:
>> This fixes an the AIOOBE when finding a line break point in RTL laid out glyphs.
>> The comment in the bug report explains how we can end up trying to find an unachievable break point and yet there's no "stop" on the search when we've run out of glyphs so hence the exception.
>>
>> The fix uses a different method to choose a break point.
>>
>> A system test has been supplied which will fail on macOS (even with standard macOS fonts, not just the Noto Sans Arabic) unless the fix is applied.
>
> Phil Race has updated the pull request incrementally with one additional commit since the last revision:
>
> 8302797
fix looks good on windows 11.
-------------
PR: https://git.openjdk.org/jfx/pull/1055
More information about the openjfx-dev
mailing list