1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-14 12:35:22 +02:00

[228335] [dstore][multithread] start() in SecuredThread class

This commit is contained in:
David McKnight 2008-04-30 19:49:47 +00:00
parent 38da47261b
commit 003f2fa352

View file

@ -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. * When start() is called, a check is made to see if there is an ISystemService.
* If there is, the <code>ISystemService.executeThread(SecuredThread)</code> is called. * If there is, the <code>ISystemService.executeThread(SecuredThread)</code> is called.
* In this case, the run() method is invoked in a thread assigned from the running * In this case, the run() method is invoked in a thread assigned from the running
* work threads * work threads
* If there isn't, the <code>super.start()</code> is called. * If there isn't, the <code>super.start()</code> is called.
* In this case. the run() method is invoked as a new thread. * In this case. the run() method is invoked as a new thread.
*/
public void start() public void start()
{ {
/*
* As per bug 228335, this is commented out.
*
try try
{ {
@ -155,7 +156,6 @@ public class SecuredThread extends Thread
systemService.executeThread(this); systemService.executeThread(this);
} }
else else
{ {
super.start(); super.start();
} }
@ -164,8 +164,7 @@ public class SecuredThread extends Thread
{ {
e.printStackTrace(new PrintWriter(System.err)); e.printStackTrace(new PrintWriter(System.err));
} }
*/
super.start();
} }
*/
} }