[OpenJDK 2D-Dev] [13] RFR 8214579: JFrame does not paint content in XVFB / X11vnc environment

Dmitry Markov dmitry.markov at oracle.com
Thu Jan 3 18:29:58 UTC 2019


Could you review a fix for jdk13, please?

 	bug: https://bugs.openjdk.java.net/browse/JDK-8214579 <https://bugs.openjdk.java.net/browse/JDK-8214579>
 	webrev: http://cr.openjdk.java.net/~dmarkov/8214579/webrev.00/ <http://cr.openjdk.java.net/~dmarkov/8213583/webrev.00/>

Problem description:
The problem is triggered by JDK-8204931 [1]. After its integration SurfaceType with PixelConverter is used when createData() is called for XRWindowSurfaceData.   As a result a frame has no content, (e.g. text) in XVFB/X11VNC environment.

It is necessary to use X11SurfaceType instead of XRSurfaceType inside createData() for XRWindowSurfaceData


[1] - https://bugs.openjdk.java.net/browse/JDK-8204931
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/2d-dev/attachments/20190103/6c78a4c2/attachment.html>

More information about the 2d-dev mailing list