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

Volker Simonis volker.simonis at gmail.com
Wed Apr 27 16:49:43 UTC 2016

I've checked that it really works :)


On Wed, Apr 27, 2016 at 6:35 PM, Philip Race <philip.race at oracle.com> wrote:
> Whilst the syntax is all new to me, since it is contained
> entirely in #if defined(_AIX) I am OK with this fix.
> phil.
> 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