6630501: CRASH: JCK test eats much memory and jvm crashes
authorigor
Fri, 16 May 2008 03:10:58 +0400
changeset 558 14291c56e115
parent 557 800259d3792b
child 559 7f92d623aa8a
6630501: CRASH: JCK test eats much memory and jvm crashes Reviewed-by: bae, prr
jdk/src/share/classes/sun/font/Type1Font.java
--- a/jdk/src/share/classes/sun/font/Type1Font.java	Wed May 14 16:05:07 2008 -0700
+++ b/jdk/src/share/classes/sun/font/Type1Font.java	Fri May 16 03:10:58 2008 +0400
@@ -589,7 +589,7 @@
 
     protected synchronized FontScaler getScaler() {
         if (scaler == null) {
-            return FontManager.getScaler(this, 0, false, fileSize);
+            scaler = FontManager.getScaler(this, 0, false, fileSize);
         }
 
         return scaler;