changeset 12811:859419a97d2b

7120895: FontConfiguration should not use thread contextClassLoader Reviewed-by: igor, prr
author bae
date Thu, 31 May 2012 12:15:22 +0400
parents d9307058c48b
children 5119c8da8a8d
files jdk/src/share/classes/sun/awt/FontConfiguration.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/jdk/src/share/classes/sun/awt/FontConfiguration.java	Wed May 30 16:17:48 2012 +0100
+++ b/jdk/src/share/classes/sun/awt/FontConfiguration.java	Thu May 31 12:15:22 2012 +0400
@@ -947,7 +947,7 @@
                     public Object run() {
                         try {
                             return Class.forName(charsetName, true,
-                                                 Thread.currentThread().getContextClassLoader());
+                                                 ClassLoader.getSystemClassLoader());
                         } catch (ClassNotFoundException e) {
                         }
                         return null;