On Fri, 9 Oct 2020 21:48:40 GMT, Kevin Rushforth <k...@openjdk.org> wrote:

>> Arun Joseph has updated the pull request incrementally with two additional 
>> commits since the last revision:
>> 
>>  - Update copyright year
>>  - Minor refactoring
>
> modules/javafx.graphics/src/main/java/com/sun/prism/j2d/J2DPrismGraphics.java 
> line 742:
> 
>> 740:                 }
>> 741:
>> 742:                 g2d.fill(tmpAT.createTransformedShape(shape));
> 
> Maybe move the `fill` call inside the try/catch so it won't draw anything if 
> the transform is non-invertible? That
> matches what `drawMappedTextureRaw` does.

Moved `g2d.fill` into try/catch block.

-------------

PR: https://git.openjdk.java.net/jfx/pull/190

Reply via email to