mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-21 21:52:10 +02:00
Bug 530619 - NullPointerException in RemoteCommandLauncher.setProject
- fix RemoteCommandLauncher default constructor to set up the fLocalLauncher field to point to a CommandLauncher Change-Id: Ic01a5b1d80d4b31021c7eb7080b0986e8fb61eea
This commit is contained in:
parent
33eeb12ae8
commit
ea9050fdda
1 changed files with 2 additions and 0 deletions
|
@ -17,6 +17,7 @@ import java.net.URI;
|
|||
import java.util.Map;
|
||||
import java.util.Properties;
|
||||
|
||||
import org.eclipse.cdt.core.CommandLauncher;
|
||||
import org.eclipse.cdt.core.CommandLauncherManager;
|
||||
import org.eclipse.cdt.core.ICommandLauncher;
|
||||
import org.eclipse.cdt.remote.internal.core.Activator;
|
||||
|
@ -112,6 +113,7 @@ public class RemoteCommandLauncher implements ICommandLauncher {
|
|||
private final Properties fEnvironment = new Properties();
|
||||
|
||||
public RemoteCommandLauncher() {
|
||||
this.fLocalLauncher = new CommandLauncher();
|
||||
}
|
||||
|
||||
public RemoteCommandLauncher(ICommandLauncher localLauncher) {
|
||||
|
|
Loading…
Add table
Reference in a new issue