6630501: CRASH: JCK test eats much memory and jvm crashes

Reviewed-by: bae, prr
This commit is contained in:
Igor Nekrestyanov 2008-05-16 03:10:58 +04:00
parent f333c99e58
commit 1138f00d74

View File

@ -589,7 +589,7 @@ public class Type1Font extends FileFont {
protected synchronized FontScaler getScaler() {
if (scaler == null) {
return FontManager.getScaler(this, 0, false, fileSize);
scaler = FontManager.getScaler(this, 0, false, fileSize);
}
return scaler;