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).

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

Commit messages:
 - Remove reflection call

Changes: https://git.openjdk.org/jfx/pull/2362/files
  Webrev: https://webrevs.openjdk.org/?repo=jfx&pr=2362&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8396903
  Stats: 32 lines in 1 file changed: 0 ins; 30 del; 2 mod
  Patch: https://git.openjdk.org/jfx/pull/2362.diff
  Fetch: git fetch https://git.openjdk.org/jfx.git pull/2362/head:pull/2362

PR: https://git.openjdk.org/jfx/pull/2362

Reply via email to