changeset 5050:3335ab17d926

7120895: FontConfiguration should not use thread contextClassLoader Reviewed-by: igor, prr
author bae
date Fri, 01 Jun 2012 19:24:34 +0400
parents 701b62f43784
children 70bf12e0b82c aa49fe749096 cb80eb22fe0a
files src/share/classes/sun/awt/FontConfiguration.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/sun/awt/FontConfiguration.java	Fri Jun 01 18:23:26 2012 +0400
+++ b/src/share/classes/sun/awt/FontConfiguration.java	Fri Jun 01 19:24:34 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;