On Sat, 7 Nov 2026 17:20:27 GMT, Christopher Schnick <[email protected]> 
wrote:

> This will improve performance when doing a lot of text layouts as it 
> repeatedly calls a method via reflection. This seems to be a leftover that 
> was forgotten
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

I know nothing of the android requirements but since this is a JDK 1.7 API from 
a desktop perspective, I see no problem with calling it directly, and both 
cases should be better off.
Ideally this should have been done via some platform-specific class so as to 
not cost everything else for the sake of android.

I hope there are no other cases like this ..

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

Marked as reviewed by prr (Reviewer).

PR Review: https://git.openjdk.org/jfx/pull/2362#pullrequestreview-5819741019

Reply via email to