Hi Sergey, Thanks for the comments. Here is updated webrev:
http://cr.openjdk.java.net/~avu/JDK-8158495/webrev.01 <http://cr.openjdk.java.net/~avu/JDK-8158495/webrev.01> BTW, could you integrate this fix into jdk8 and jdk9 as well. Best Regards, Alexey > On 02 Jun 2016, at 21:42, Sergey Bylokhov <sergey.bylok...@oracle.com> wrote: > > 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.