On Fri, 23 Oct 2026 07:54:44 GMT, Marius Hanl <[email protected]> wrote:
>> Andy Goryachev has updated the pull request incrementally with one
>> additional commit since the last revision:
>>
>> unused
>
> modules/javafx.graphics/src/main/java/com/sun/javafx/text/PrismTextLayout.java
> line 729:
>
>> 727: * @return true, if only the runs can be reused
>> 728: */
>> 729: private boolean onlyReuseRuns() {
>
> See:
> https://github.com/openjdk/jfx/pull/2145/files#diff-998e4e05957f324eac913749e4eabc7beb6fc49667344314f66354de68f97236
>
> This could be tested in `TextLayoutUtilsContractTest.java`. Probably the very
> same way, so copy a test, change the tab width, and check the
> `glyphLayoutCreationCounter`.
No it can't - needs the real `PrismLayout`.
-------------
PR Review Comment: https://git.openjdk.org/jfx/pull/2352#discussion_r4361158293