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

Baesken, Matthias matthias.baesken at sap.com
Wed Nov 20 14:25:17 UTC 2019


Thanks !

In case of no objections I'll push it as trivial tomorrow .

Best regards, Matthias

From: Langer, Christoph <christoph.langer at sap.com>
Sent: Mittwoch, 20. November 2019 15:20
To: Baesken, Matthias <matthias.baesken at sap.com>; 2d-dev at openjdk.java.net
Subject: RE: RFR: [XS] 8234323: NULL-check return value of SurfaceData_InitOps on macosx

Hi Matthias,

looks good and trivial to me.

Cheers
Christoph

From: 2d-dev <2d-dev-bounces at openjdk.java.net<mailto:2d-dev-bounces at openjdk.java.net>> On Behalf Of Baesken, Matthias
Sent: Dienstag, 19. November 2019 15:07
To: 2d-dev at openjdk.java.net<mailto:2d-dev at openjdk.java.net>
Subject: [CAUTION] Re: [OpenJDK 2D-Dev] RFR: [XS] 8234323: NULL-check return value of SurfaceData_InitOps on macosx

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/20191120/11c54b12/attachment-0001.html>


More information about the 2d-dev mailing list