On Tue, 29 Mar 2022 10:44:51 GMT, Alexey Ushakov <a...@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

Reply via email to