RFR: 8347321: [ubsan] CGGlyphImages.m:553:30: runtime error: nan is outside the range of representable values of type 'unsigned long'
Alexander Zuev
kizune at openjdk.org
Wed Mar 19 20:38:07 UTC 2025
On Mon, 3 Mar 2025 05:57:33 GMT, Phil Race <prr at openjdk.org> wrote:
> The font tests that fail use non-finite or NaN float values.
> In such cases, no visible rendering is expected and the NaNTransform test does pass with empty shapes, but we can filter out these invalid floats before they get to native.
> The macOS class that handles the font strike can check for these and replace them.
> Since you can't observe a difference unless you can get ubsan to work (not easy) and that is a build option, so not something we can use in testing, there' s no regression test update here.
Looks good.
-------------
Marked as reviewed by kizune (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/23855#pullrequestreview-2700128396
More information about the client-libs-dev
mailing list