[
https://issues.apache.org/jira/browse/BATIK-1385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18029654#comment-18029654
]
Matthias Reischenbacher commented on BATIK-1385:
------------------------------------------------
Thanks for your test. I tested with Batik 1.19 (freshly downloaded from
[https://xmlgraphics.apache.org/batik/download.html] ) on macOS (aarch64).
> SVG rendering partially broken with Java 21+
> --------------------------------------------
>
> Key: BATIK-1385
> URL: https://issues.apache.org/jira/browse/BATIK-1385
> Project: Batik
> Issue Type: Bug
> Reporter: Matthias Reischenbacher
> Priority: Critical
> Attachments: minimal_testcase.svg, minimal_testcase_java17.png,
> minimal_testcase_java21.png
>
>
> When rendering [^minimal_testcase.svg] as PNG file with the following command
> {code:java}
> java -jar batik-rasterizer.jar -m image/png -d <output_file.png>
> <input_file.svg>{code}
> Then the result file differs depending on the Java version:
> * With Java 17 it is rendered correctly: [^minimal_testcase_java17.png]
> * But with Java 21 (or Java 25) it is rendered incorrectly:
> [^minimal_testcase_java21.png]
> Is there any workaround for this issue?
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]