JDK-8268667 : Release Note: Marlin Renderer in JDK 8u
  • Type: Sub-task
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 8u311
  • Priority: P4
  • Status: Closed
  • Resolution: Delivered
  • Submitted: 2021-06-14
  • Updated: 2022-06-13
  • Resolved: 2021-06-14
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 8
8u311Resolved
Description
Starting from version 8u311, the Marlin graphics rasterizer and its artifacts will be built and distributed as a part of the JDK/JRE bundles. It is not the default rendering engine, however there is an option to enable it by setting the following system property:

`sun.java2d.renderer=sun.java2d.marlin.MarlinRenderingEngine`

Comments
I checked with my own patch list, your work covers patches 11 to 21 in 8ub311. See https://github.com/bourgesl/marlin-jdk8u/blob/master/README.md
09-10-2021

Is it Oracle JDK8u or OpenJDK8u ? Could you publish your backport patches on the Marlin renderer publicly (GPL2) ? I started the Marlin renderer project on jdk8 in 2013 and it was integrated in openjdk9, but I would love getting its last release in openjdk8u too.
09-10-2021

I just noticed your backport effort on OpenJDK 8u, congratulations ! I would recommend using the double-precision Marlin renderer (default in 11+): `-Dsun.java2d.renderer=sun.java2d.marlin.DMarlinRenderingEngine`
29-09-2021