<AWT Dev> Taking screenshots on x11 composite desktop produce wrong result

Semyon Sadetsky semyon.sadetsky at oracle.com
Wed Jun 1 11:52:57 UTC 2016

On 6/1/2016 2:39 PM, Mario Torre wrote:
> On Wed, Jun 1, 2016 at 1:23 PM, Semyon Sadetsky
> <semyon.sadetsky at oracle.com> wrote:
>> I ran JPRT build. It seems that the build server does not have the requested
>> header:
>> /opt/jprt/T/P1/102200.ssadetsk/s/jdk/src/java.desktop/unix/native/libawt_xawt/awt/awt_Robot.c:40:39:
>> fatal error: X11/extensions/Xcomposite.h: No such file or directory
>>   #include <X11/extensions/Xcomposite.h>
>> someone need to install Xcomposite library there
> Should this be made optional?
> I can do some dlsym hack if necessary (I would prefer to avoid that though).
Apparently dlsym is the shortest way to fix that issue and you don't 
need to modify the makefile in that case.

> Cheers,
> Mario

More information about the awt-dev mailing list