[OpenJDK 2D-Dev] RFR: [XS] 8234323: NULL-check return value of SurfaceData_InitOps on macosx

Baesken, Matthias matthias.baesken at sap.com
Tue Nov 19 14:07:26 UTC 2019


Small update - I had to add an inclusion, new webrev :

http://cr.openjdk.java.net/~mbaesken/webrevs/8234323.1/

Best regards, Matthias


Hello,  please review this small  macos  related fix .

In the java.desktop coding, at most usages of SurfaceData_InitOps the return value of the function is NULL-checked to avoid crashes in seldom cases where  the function  SurfaceData_InitOps  returns NULL.
However in the macos related coding this is missing at some places.


Bug/webrev :

https://bugs.openjdk.java.net/browse/JDK-8234323

http://cr.openjdk.java.net/~mbaesken/webrevs/8234323.0/


Thanks, Matthias
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/2d-dev/attachments/20191119/cced6ea9/attachment.html>


More information about the 2d-dev mailing list