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