Integrated: 8347321: [ubsan] CGGlyphImages.m:553:30: runtime error: nan is outside the range of representable values of type 'unsigned long'
Phil Race
prr at openjdk.org
Mon Mar 24 19:56:13 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.
This pull request has now been integrated.
Changeset: 6e6a39d3
Author: Phil Race <prr at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/6e6a39d35fda929300c7668fdf5d2f0fbfed0606
Stats: 12 lines in 1 file changed: 11 ins; 0 del; 1 mod
8347321: [ubsan] CGGlyphImages.m:553:30: runtime error: nan is outside the range of representable values of type 'unsigned long'
Reviewed-by: kizune, azvegint, aivanov
-------------
PR: https://git.openjdk.org/jdk/pull/23855
More information about the client-libs-dev
mailing list