changeset 30499:b98715e1e7e6

8079217: JRE installation is stuck at Progress dialog : redux Reviewed-by: prr, ant
author serb
date Wed, 06 May 2015 17:31:48 +0300
parents dc91dcb9dc3b
children 9d40ba747a9a
files jdk/src/java.desktop/share/classes/sun/awt/AppContext.java
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/jdk/src/java.desktop/share/classes/sun/awt/AppContext.java	Tue May 05 13:29:31 2015 -0700
+++ b/jdk/src/java.desktop/share/classes/sun/awt/AppContext.java	Wed May 06 17:31:48 2015 +0300
@@ -569,7 +569,7 @@
     static final class PostShutdownEventRunnable implements Runnable {
         private final AppContext appContext;
 
-        public PostShutdownEventRunnable(AppContext ac) {
+        PostShutdownEventRunnable(AppContext ac) {
             appContext = ac;
         }
 
@@ -585,7 +585,7 @@
         private final AppContext appContext;
         private final Runnable runnable;
 
-        public CreateThreadAction(AppContext ac, Runnable r) {
+        CreateThreadAction(AppContext ac, Runnable r) {
             appContext = ac;
             runnable = r;
         }
@@ -597,7 +597,7 @@
             } else {
                 t = new InnocuousThread(appContext.getThreadGroup(), runnable, "AppContext Disposer");
             }
-            t.setContextClassLoader(appContext.getContextClassLoader());
+            t.setContextClassLoader(null);
             t.setPriority(Thread.NORM_PRIORITY + 1);
             t.setDaemon(true);
             return t;