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

[358301] [DSTORE] Hang during debug source look up

This commit is contained in:
David McKnight 2011-11-07 15:49:31 +00:00
parent 5aa910181c
commit 75e324ad56
2 changed files with 18 additions and 1 deletions

View file

@ -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
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@ -12,6 +12,7 @@
* Contributors:
* Noriaki Takatsu (IBM) - [220126] [dstore][api][breaking] Single process server for multiple clients
* 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;
@ -129,6 +130,9 @@ public class SecuredThread extends Thread
systemService.setThreadSecurity(_dataStore.getClient());
}
}
catch (OutOfMemoryError err){
System.exit(-1);
}
catch (Throwable e)
{
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);
}
}
}

View file

@ -19,6 +19,7 @@
* 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) - [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;
@ -239,6 +240,9 @@ public class EnvironmentMiner extends Miner
_dataStore.refresh(_system);
}
catch (OutOfMemoryError err){
System.exit(-1);
}
catch (IOException e)
{
System.err.println("Error getting System Environment Variables\n" + e.getMessage()); //$NON-NLS-1$