RFR: 8370729: Precision errors in Marlin 0.9.4.6 can cause rendering errors [v2]

Andy Goryachev angorya at openjdk.org
Fri Jan 16 17:38:55 UTC 2026


On Thu, 15 Jan 2026 11:18:37 GMT, Laurent Bourgès <lbourges at openjdk.org> wrote:

>> merged changes with Java2D bug JDK-8341381 (trivial port on src only)
>> 
>> See https://github.com/openjdk/jdk/commit/46c23bb1a252916096876c2ae3a72f4a525dd6f9
>
> Laurent Bourgès has updated the pull request incrementally with one additional commit since the last revision:
> 
>   made Helpers.ulp public to fix compilation

I came up with what I think is an equivalent of the Main.java in https://bugs.openjdk.org/browse/JDK-8341381

I noticed that the shapes do not correspond to the GIF in the ticket - the curves in the bug form a text outline, whereas the GIF shows something else.  Not sure if important.

What's important is that I cannot reproduce the issue with the latest master branch.

Please use the latest monkey tester from
https://github.com/andy-goryachev-oracle/MonkeyTest

select the Shape page and set the properties according to the screenshot:
<img width="1145" height="866" alt="Screenshot 2026-01-16 at 09 27 59" src="https://github.com/user-attachments/assets/2a177f43-a1ca-4c11-8a8d-57fe7dfcb4a5" />

Here is the reproducer part of the code:
https://github.com/andy-goryachev-oracle/MonkeyTest/blob/b19d640533b89068644426dcf6aa7f137b4d4334/src/com/oracle/tools/fx/monkey/pages/ShapePage.java#L213

What am I doing wrong, @bourgesl ?

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

PR Comment: https://git.openjdk.org/jfx/pull/2039#issuecomment-3761097089


More information about the openjfx-dev mailing list