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

Philip Race philip.race at oracle.com
Wed Apr 27 16:35:15 UTC 2016

Whilst the syntax is all new to me, since it is contained
entirely in #if defined(_AIX) I am OK with this fix.


On 4/27/16, 7:35 AM, Volker Simonis wrote:
> Hi,
> can somebody please review this AIX-only fix which I've found in one
> of my old patch queues :)
> http://cr.openjdk.java.net/~simonis/webrevs/2016/8155236/
> https://bugs.openjdk.java.net/browse/JDK-8155236
> 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,
> Volker

More information about the 2d-dev mailing list