RFR: 8283794: CCE in XRTextRenderer.drawGlyphList and XRMaskFill.MaskFill

Sergey Bylokhov serb at openjdk.java.net
Tue Mar 29 20:57:44 UTC 2022


On Tue, 29 Mar 2022 10:44:51 GMT, Alexey Ushakov <avu at openjdk.org> wrote:

> Throwing InvalidPipeException for incompatible surfaces

Since this is the third cast-related issue then probably it will be useful to create a method to convert the `surfaceData `to the (XRSurfaceData) and throw `InvalidPipeException `if needed? We have many other places where we use the same casts.

-------------

PR: https://git.openjdk.java.net/jdk/pull/8015



More information about the client-libs-dev mailing list