RFR: 8283794: CCE in XRTextRenderer.drawGlyphList and XRMaskFill.MaskFill [v2]
Alexey Ushakov
avu at openjdk.java.net
Mon Apr 11 15:01:40 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 review these changes.
-------------
PR: https://git.openjdk.java.net/jdk/pull/8015
More information about the client-libs-dev
mailing list