changeset 9461:4fd9dcb3a5d0

7031011: fallbackfont testing failed on OEL 6. Reviewed-by: igor, jgodinez
author prr
date Fri, 22 Apr 2011 12:59:15 -0700
parents 2957bb8932db
children 93f5dd7ff69a
files jdk/src/solaris/classes/sun/font/FcFontConfiguration.java
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/jdk/src/solaris/classes/sun/font/FcFontConfiguration.java	Wed Apr 20 09:10:36 2011 -0700
+++ b/jdk/src/solaris/classes/sun/font/FcFontConfiguration.java	Fri Apr 22 12:59:15 2011 -0700
@@ -256,9 +256,9 @@
                 }
 
                 if (installedFallbackFontFiles != null) {
-                    System.arraycopy(fileNames, index,
-                                     installedFallbackFontFiles,
-                                     0, installedFallbackFontFiles.length);
+                    System.arraycopy(installedFallbackFontFiles, 0,
+                                     fileNames, fcFonts.length,
+                                     installedFallbackFontFiles.length);
                 }
 
                 result[fontIndex * NUM_STYLES + styleIndex]