On Mon, 23 Feb 2026 13:12:24 GMT, Daniel Gredler <[email protected]> wrote:
>Sequence: getGlyphImagePtr -> getGlyphImagePtrs -> getFilteredGlyphImagePtrs >-> getGlyphImagePtrsNative -> Java_sun_font_CStrike_getGlyphImagePtrsNative -> >CGGlyphImages_GetGlyphImagePtrs -> CGGI_CreateGlyphsAndScanForComplexities -> >CGGI_CreateGlyphInfos -> CGGI_CreateNewGlyphInfoFrom /// OR /// >CGGI_FillImagesForGlyphs -> CGGI_FillImagesForGlyphsWithSizedCanvas -> >CGGI_CreateImageForUnicode -> CGGI_CreateNewGlyphInfoFrom This is some objc code that may throw an NSException. It will be caught in Java_sun_font_CStrike_getGlyphImagePtrsNative by JNI_COCOA_ENTER / JNI_COCOA_EXIT. And that assumption that malloc always succeed is suspicion. ------------- PR Comment: https://git.openjdk.org/jdk/pull/29726#issuecomment-3946356155
