Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjfogell2006-04-18 22:47:49 +0000
committerjfogell2006-04-18 22:47:49 +0000
commit0a3cc22640ff0d22af8320b58685eab2ff2ad545 (patch)
tree567b8fb648892adb827dfed99d6dd085ac54c121
parentaecfc9145739a4251f26d295039a29c121c006ba (diff)
downloadrt.equinox.bundles-0a3cc22640ff0d22af8320b58685eab2ff2ad545.tar.gz
rt.equinox.bundles-0a3cc22640ff0d22af8320b58685eab2ff2ad545.tar.xz
rt.equinox.bundles-0a3cc22640ff0d22af8320b58685eab2ff2ad545.zip
fix for 130028 - NPE in HttpListener
-rw-r--r--bundles/org.eclipse.equinox.http/src/org/eclipse/equinox/http/HttpConfiguration.java6
1 files changed, 1 insertions, 5 deletions
diff --git a/bundles/org.eclipse.equinox.http/src/org/eclipse/equinox/http/HttpConfiguration.java b/bundles/org.eclipse.equinox.http/src/org/eclipse/equinox/http/HttpConfiguration.java
index b65baa00f..3e1179cab 100644
--- a/bundles/org.eclipse.equinox.http/src/org/eclipse/equinox/http/HttpConfiguration.java
+++ b/bundles/org.eclipse.equinox.http/src/org/eclipse/equinox/http/HttpConfiguration.java
@@ -96,15 +96,12 @@ public class HttpConfiguration implements ManagedService, ManagedServiceFactory
*/
protected void initialize() {
setDefaultPorts();
- /* Create configured listeners before thread pool
- * in case we exceed the number of threads */
+ pool = new HttpThreadPool(http, minThreads, maxThreads, threadPriority);
configuredListeners = new Hashtable(7);
synchronized (configuredListeners) {
createDefaultListeners();
}
- pool = new HttpThreadPool(http, minThreads, maxThreads, threadPriority);
-
registerManagedService();
registerManagedServiceFactory();
}
@@ -271,7 +268,6 @@ public class HttpConfiguration implements ManagedService, ManagedServiceFactory
}
pool.close();
- pool = null;
}
/**

Back to the top