JDK-8313240 : Harfbuzz *hb_subset_context_t symbol not found running AWT libfontmanager
  • Type: Bug
  • Component: client-libs
  • Affected Version: 11.0.20,17.0.8
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • OS: aix
  • Submitted: 2023-07-27
  • Updated: 2023-08-01
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 17
17-poolUnresolved
Description
On jdk11u and jdk17u, following backport of JDK-8304291, the AWT modules fail to load correctly at runtime, with error:
[2023-07-01T22:05:22.084Z] ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.UnsatisfiedLinkError: /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_ppc64_aix_testList_1/openjdkbinary/j2sdk-image/lib/libfontmanager.so: /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_ppc64_aix_testList_1/openjdkbinary/j2sdk-image/lib/libfontmanager.so, LIBPATH=/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_ppc64_aix_testList_1/openjdkbinary/j2sdk-image/lib/server:/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_ppc64_aix_testList_1/openjdkbinary/j2sdk-image/lib:/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_ppc64_aix_testList_1/openjdkbinary/j2sdk-image/lib/jli:/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_ppc64_aix_testList_1/openjdkbinary/j2sdk-image/../lib, LD_LIBRARY_PATH= : rtld: 0712-001 Symbol _ZNK2OT10postV2Tail6subsetEP19hb_subset_context_t was referenced from module /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_ppc64_aix_testList_1/openjdkbinary/j2sdk-image/lib/libfontmanager.so(), but a runtime definition of the symbol wa
Ref Adoptium AQA test issue: https://github.com/adoptium/aqa-tests/issues/4683

This is due to JDK-8304291 removing the include of the code required in hb-ot-post-table-v2subset.hh on AIX.

Upstream Harfbuzz is currently working on a fix for the original Xlc 16 compile problem: https://github.com/harfbuzz/harfbuzz/issues/4138#issuecomment-1652094293

Comments
Harfbuzz new release now has the required fix: https://github.com/harfbuzz/harfbuzz/releases/tag/8.1.0
01-08-2023

Currently waiting for Harfbuzz release that will contain this fix: https://github.com/harfbuzz/harfbuzz/issues/4344
01-08-2023