JDK-8210335 : Clipping problems with complex affine transforms: negative scaling factors or small scaling factors
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 10,11,12
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2018-09-03
  • Updated: 2021-06-28
  • Resolved: 2018-09-24
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 8
11.0.2Fixed 8u311Fixed
Related Reports
Relates :  
Description
Clipping in the Marlin renderer produces incorrect outputs in the following cases due to the incorrect transformation of the clipping rectangle:
- when the affine transform uses negative scaling factors (asymetric)
- arround clip borders with complex affine transforms (small scale)

Comments
Fix Request As this patch fixes a regression due to clipping in Marlin renderer present in JDK11, I propose to simply apply the submitted patch on JDK11 updates repository as it applies cleanly Reviewed by Phil Race & Sergey Bylokov.. The new ScaleClipTest allows to reproduce the bug & validate the fix.
24-09-2018

RFR thread: http://mail.openjdk.java.net/pipermail/2d-dev/2018-September/009443.html
04-09-2018