[OpenJDK 2D-Dev] RFR(S): 8155236: AIX: fix detection of Xrender extension

Volker Simonis volker.simonis at gmail.com
Wed Apr 27 14:35:04 UTC 2016


can somebody please review this AIX-only fix which I've found in one
of my old patch queues :)


On AIX we have to use a special syntax for the dlopen() string
argument because the shared libraries are packed in multi-architecture
archives. We first try to load the system default libXrender which is
contained in the 'X11.base.lib' fileset starting with AIX 6.1.

If the latter wasn't successful, we also try to load the version under
/opt/freeware. This may be downloaded from the "AIX Toolbox for Linux
Applications" even for AIX 5.3.

Thank you and best regards,

More information about the 2d-dev mailing list