From fd5328197c0a90420faaaeb42e5c36069e0f164e Mon Sep 17 00:00:00 2001 From: igor 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 --- src/share/classes/sun/font/Type1Font.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/share/classes/sun/font/Type1Font.java b/src/share/classes/sun/font/Type1Font.java index a3b0cda3c..90236ff64 100644 --- a/src/share/classes/sun/font/Type1Font.java +++ b/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; -- GitLab