From 003f2fa352e8510abded2c12da3fecb7ce5d9fb6 Mon Sep 17 00:00:00 2001 From: David McKnight Date: Wed, 30 Apr 2008 19:49:47 +0000 Subject: [PATCH] [228335] [dstore][multithread] start() in SecuredThread class --- .../eclipse/dstore/core/server/SecuredThread.java | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/rse/plugins/org.eclipse.dstore.core/src/org/eclipse/dstore/core/server/SecuredThread.java b/rse/plugins/org.eclipse.dstore.core/src/org/eclipse/dstore/core/server/SecuredThread.java index 9b94212b402..4a4ad945cc4 100644 --- a/rse/plugins/org.eclipse.dstore.core/src/org/eclipse/dstore/core/server/SecuredThread.java +++ b/rse/plugins/org.eclipse.dstore.core/src/org/eclipse/dstore/core/server/SecuredThread.java @@ -135,18 +135,19 @@ public class SecuredThread extends Thread } /** + * + * As per bug 228335, this is commented out. + * * When start() is called, a check is made to see if there is an ISystemService. * If there is, the ISystemService.executeThread(SecuredThread) is called. * In this case, the run() method is invoked in a thread assigned from the running * work threads * If there isn't, the super.start() is called. * In this case. the run() method is invoked as a new thread. - */ + public void start() { - /* - * As per bug 228335, this is commented out. - * + try { @@ -154,8 +155,7 @@ public class SecuredThread extends Thread if (systemService != null){ systemService.executeThread(this); } - else - + else { super.start(); } @@ -164,8 +164,7 @@ public class SecuredThread extends Thread { e.printStackTrace(new PrintWriter(System.err)); } - */ - super.start(); } + */ }