changeset 558:14291c56e115

6630501: CRASH: JCK test eats much memory and jvm crashes Reviewed-by: bae, prr
author igor
date Fri, 16 May 2008 03:10:58 +0400
parents 800259d3792b
children 7f92d623aa8a
files jdk/src/share/classes/sun/font/Type1Font.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;