RFR: 8283794: CCE in XRTextRenderer.drawGlyphList and XRMaskFill.MaskFill [v2]

Alexey Ushakov avu at openjdk.java.net
Fri Apr 8 17:00:43 UTC 2022


On Fri, 1 Apr 2022 15:43:29 GMT, Alexey Ushakov <avu at openjdk.org> wrote:

>> Throwing InvalidPipeException for incompatible surfaces
>
> Alexey Ushakov has updated the pull request incrementally with one additional commit since the last revision:
> 
>   8283794: CCE in XRTextRenderer.drawGlyphList and XRMaskFill.MaskFill
>   
>   Extracted try/catch logic of SurfaceData cast to particular SurfaceData subclass into convenience method SurfaceData.convertTo(). Applied the method to XRTextRenderer.drawGlyphList() and XRMaskFill.MaskFill(). Refactored try/catch blocks handling similar cases.

@aghaisas could you please help with running the necessary tests.

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

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



More information about the client-libs-dev mailing list