mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-19 06:55:23 +02:00
[358301] [DSTORE] Hang during debug source look up
This commit is contained in:
parent
5aa910181c
commit
75e324ad56
2 changed files with 18 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
* Copyright (c) 2008 IBM Corporation and others.
|
* Copyright (c) 2008, 2011 IBM Corporation and others.
|
||||||
* All rights reserved. This program and the accompanying materials
|
* All rights reserved. This program and the accompanying materials
|
||||||
* are made available under the terms of the Eclipse Public License v1.0
|
* are made available under the terms of the Eclipse Public License v1.0
|
||||||
* which accompanies this distribution, and is available at
|
* which accompanies this distribution, and is available at
|
||||||
|
@ -12,6 +12,7 @@
|
||||||
* Contributors:
|
* Contributors:
|
||||||
* Noriaki Takatsu (IBM) - [220126] [dstore][api][breaking] Single process server for multiple clients
|
* Noriaki Takatsu (IBM) - [220126] [dstore][api][breaking] Single process server for multiple clients
|
||||||
* Noriaki Takatsu (IBM) - [228335] [dstore][multithread] start() in SecuredThread class
|
* Noriaki Takatsu (IBM) - [228335] [dstore][multithread] start() in SecuredThread class
|
||||||
|
* David McKnight (IBM) - [358301] [DSTORE] Hang during debug source look up
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
|
|
||||||
package org.eclipse.dstore.core.server;
|
package org.eclipse.dstore.core.server;
|
||||||
|
@ -129,6 +130,9 @@ public class SecuredThread extends Thread
|
||||||
systemService.setThreadSecurity(_dataStore.getClient());
|
systemService.setThreadSecurity(_dataStore.getClient());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
catch (OutOfMemoryError err){
|
||||||
|
System.exit(-1);
|
||||||
|
}
|
||||||
catch (Throwable e)
|
catch (Throwable e)
|
||||||
{
|
{
|
||||||
e.printStackTrace(new PrintWriter(System.err));
|
e.printStackTrace(new PrintWriter(System.err));
|
||||||
|
@ -169,5 +173,14 @@ public class SecuredThread extends Thread
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
public void start(){
|
||||||
|
try {
|
||||||
|
super.start();
|
||||||
|
}
|
||||||
|
catch (OutOfMemoryError e){
|
||||||
|
System.exit(-1);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -19,6 +19,7 @@
|
||||||
* Noriaki Takatsu (IBM) - [226237] [dstore] Move the place where the ServerLogger instance is made
|
* Noriaki Takatsu (IBM) - [226237] [dstore] Move the place where the ServerLogger instance is made
|
||||||
* David McKnight (IBM) - [226561] [apidoc] Add API markup to RSE Javadocs where extend / implement is allowed
|
* David McKnight (IBM) - [226561] [apidoc] Add API markup to RSE Javadocs where extend / implement is allowed
|
||||||
* David McKnight (IBM) - [283613] [dstore] Create a Constants File for all System Properties we support
|
* David McKnight (IBM) - [283613] [dstore] Create a Constants File for all System Properties we support
|
||||||
|
* David McKnight (IBM) - [358301] [DSTORE] Hang during debug source look up
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
|
|
||||||
package org.eclipse.rse.dstore.universal.miners;
|
package org.eclipse.rse.dstore.universal.miners;
|
||||||
|
@ -239,6 +240,9 @@ public class EnvironmentMiner extends Miner
|
||||||
_dataStore.refresh(_system);
|
_dataStore.refresh(_system);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
catch (OutOfMemoryError err){
|
||||||
|
System.exit(-1);
|
||||||
|
}
|
||||||
catch (IOException e)
|
catch (IOException e)
|
||||||
{
|
{
|
||||||
System.err.println("Error getting System Environment Variables\n" + e.getMessage()); //$NON-NLS-1$
|
System.err.println("Error getting System Environment Variables\n" + e.getMessage()); //$NON-NLS-1$
|
||||||
|
|
Loading…
Add table
Reference in a new issue