[OpenJDK 2D-Dev] Review request for: JDK-8158495 CCE: sun.java2d.NullSurfaceData cannot be cast to sun.java2d.opengl.OGLSurfaceData

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Thu Jun 2 18:42:25 UTC 2016


Hi, Alexey.
The code in OGLMaskFill.java is mirrored in D3DMaskFill for d3d, I think 
it should be updated also. It seems these files follow the rule: "80 
chars per line", it will be good to do the same in the fix.

On 02.06.16 18:07, Alexey Ushakov wrote:
> Hello Phil and Sergey,
>
> Here is one more fix of the
> ClassCastException for invalid surface that we’ve recently got in our products. I’ve updated Sergey’s  test so it goes through the problematic code. Unfortunately, I was unable to reproduce the problem by myself (The actual issue was reported only by our customers)
>
> Bug: https://bugs.openjdk.java.net/browse/JDK-8158495
> Webrev: http://cr.openjdk.java.net/~avu/JDK-8158495/webrev.00
>
> Best Regards,
> Alexey
>


-- 
Best regards, Sergey.



More information about the 2d-dev mailing list