8357252: sun/awt/font/TestArabicHebrew.java fails in OEL 9 and 10 x64

Reviewed-by: serb, psadhukhan, kizune
This commit is contained in:
Phil Race 2025-11-04 21:47:40 +00:00
parent 8585b46c12
commit 245eeb41bc
2 changed files with 2 additions and 10 deletions

View File

@ -1038,7 +1038,7 @@ Java_sun_font_FontConfigManager_getFontConfig
return;
}
fontCount = 0;
minGlyphs = 20;
minGlyphs = 0;
if (debugMinGlyphsStr != NULL) {
int val = minGlyphs;
sscanf(debugMinGlyphsStr, "%5d", &val);
@ -1086,14 +1086,6 @@ Java_sun_font_FontConfigManager_getFontConfig
return;
}
/* We don't want 20 or 30 fonts, so once we hit 10 fonts,
* then require that they really be adding value. Too many
* adversely affects load time for minimal value-add.
* This is still likely far more than we've had in the past.
*/
if (j==10) {
minGlyphs = 50;
}
if (unionCharset == NULL) {
unionCharset = charset;
} else {

View File

@ -23,7 +23,7 @@
/*
* @test
* @bug 4198081
* @bug 4198081 8357252
* @key headful
* @summary Arabic characters should appear instead of boxes and be correctly shaped.
* Hebrew characters should appear instead of boxes.