提交 926a26d5 编写于 作者: B bagiras

8000486: REGRESSION: Three java2d tests fail since jdk8b58 on Windows 7 with NullPointerException

Reviewed-by: flar, art
上级 25bcc51f
......@@ -111,7 +111,7 @@ public class ScreenUpdateManager {
SurfaceData oldsd)
{
SurfaceData surfaceData = peer.getSurfaceData();
if (surfaceData.isValid()) {
if (surfaceData == null || surfaceData.isValid()) {
return surfaceData;
}
peer.replaceSurfaceData();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册