From 1138f00d745f26fb5c5b576ad892ddaf1ed51a0e Mon Sep 17 00:00:00 2001 From: Igor Nekrestyanov Date: Fri, 16 May 2008 03:10:58 +0400 Subject: [PATCH] 6630501: CRASH: JCK test eats much memory and jvm crashes Reviewed-by: bae, prr --- jdk/src/share/classes/sun/font/Type1Font.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jdk/src/share/classes/sun/font/Type1Font.java b/jdk/src/share/classes/sun/font/Type1Font.java index a3b0cda3c86..90236ff64c1 100644 --- a/jdk/src/share/classes/sun/font/Type1Font.java +++ b/jdk/src/share/classes/sun/font/Type1Font.java @@ -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;