RFR: 8349925: [REDO] Support static JDK in libfontmanager/freetypeScaler.c

Jiangli Zhou jiangli at openjdk.org
Wed Feb 12 20:24:19 UTC 2025


Please help review this change. The current version calls `FT_Property_Set` using the function address returned from `dlsym` for the static case as well. This is to avoid build issue on build system using older `libfreetype` that does not define `FT_Property_Set`. Thanks for everyone provided info on https://github.com/openjdk/jdk/pull/23574!

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

Commit messages:
 - Redo JDK-8349859 fix. Instead of calling FT_Property_Set directly, call the function using the address returned by lookup.

Changes: https://git.openjdk.org/jdk/pull/23600/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=23600&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8349925
  Stats: 18 lines in 2 files changed: 17 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/23600.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/23600/head:pull/23600

PR: https://git.openjdk.org/jdk/pull/23600


More information about the build-dev mailing list