RFR: JDK-8316590: Rendering artifact after JDK-8311983 [v2]

Johan Vos jvos at openjdk.org
Sun Sep 24 15:17:18 UTC 2023


On Fri, 22 Sep 2023 09:43:52 GMT, Marius Hanl <mhanl at openjdk.org> wrote:

>> Fixes the regression by basically reverting one change introduced in https://bugs.openjdk.org/browse/JDK-8311983.
>> The problem is that it is actually required to get the size from a cell with the index -1, which technically does not exist (the accumCell is used then).
>> 
>> Furthermore, unlike the name suggests, the call to `addLeadingCells()` is always needed, even if there are none.
>> This is because the method does much more than what you would think first. 
>> 
>> In future, it would probably be good to revisit this code. Also performance wise, since this looks like something that can be optimized. But that is another story, not related to this fix.
>
> Marius Hanl has updated the pull request incrementally with one additional commit since the last revision:
> 
>   JDK-8316590: More tests

This fixes the regression from JDK-8311983 and adds a few new regression tests.

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

Marked as reviewed by jvos (Reviewer).

PR Review: https://git.openjdk.org/jfx/pull/1246#pullrequestreview-1641077463


More information about the openjfx-dev mailing list