JDK-8228711 : Path rendered incorrectly when it goes outside the clipping region
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 11
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2019-07-29
  • Updated: 2021-06-28
  • Resolved: 2019-08-07
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11 JDK 13 JDK 14 JDK 8
11.0.5Fixed 13.0.2Fixed 14 b13Fixed 8u311Fixed
Related Reports
Relates :  
Description
Marlin 2D (java2d renderer) 0.9.1.1 present in JDK 11u - 14 has the same clipping bug than MarlinFX 0.9.3 integrated in OpenJFX 11: it does not properly reset clipping state after Path2D.closePath() operation in both Dasher & Stroker classes.

See JDK-8226789: Path rendered incorrectly when it goes outside the clipping region (fixed in OpenJFX 14, backported in 13)
Comments
URL: https://hg.openjdk.java.net/jdk/jdk/rev/13178f7e75d5 User: psadhukhan Date: 2019-08-29 10:39:05 +0000
29-08-2019

URL: https://hg.openjdk.java.net/jdk/client/rev/13178f7e75d5 User: lbourges Date: 2019-08-07 08:26:46 +0000
07-08-2019

Fix Request Backporting this patch avoids rendering artefacts. Patch applies cleanly to 11u. The modified ClipShapeTest fails without the patch, and passes with it.
07-08-2019

RFR thread: http://mail.openjdk.java.net/pipermail/2d-dev/2019-July/010222.html
29-07-2019