7031011: fallbackfont testing failed on OEL 6.
authorprr
Fri, 22 Apr 2011 12:59:15 -0700
changeset 9461 4fd9dcb3a5d0
parent 9460 2957bb8932db
child 9462 93f5dd7ff69a
7031011: fallbackfont testing failed on OEL 6. Reviewed-by: igor, jgodinez
jdk/src/solaris/classes/sun/font/FcFontConfiguration.java
--- 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]