Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoberto Oliveira2014-11-26 18:01:34 +0000
committerAlexander Kurtakov2014-11-26 19:06:24 +0000
commit92de5a23a450b84271f2788179e50e4fd9f57b1f (patch)
treebc6886a7459cabfc736af37e36d334506fca75c3
parent770a83b3f2ee0a0beb0c6373305b95cb1d5d3e66 (diff)
downloadorg.eclipse.linuxtools-92de5a23a450b84271f2788179e50e4fd9f57b1f.tar.gz
org.eclipse.linuxtools-92de5a23a450b84271f2788179e50e4fd9f57b1f.tar.xz
org.eclipse.linuxtools-92de5a23a450b84271f2788179e50e4fd9f57b1f.zip
profiling: Fixes an issue when creating a new profile. It was getting in an infinit loop
Change-Id: I7f84b6a7502cc9dec147cbcaa236ff5de1899a3e Signed-off-by: Roberto Oliveira <rdutra@linux.vnet.ibm.com> Reviewed-on: https://git.eclipse.org/r/37109 Tested-by: Hudson CI Reviewed-by: Alexander Kurtakov <akurtako@redhat.com> Tested-by: Alexander Kurtakov <akurtako@redhat.com>
-rw-r--r--profiling/org.eclipse.linuxtools.rdt.proxy/src/org/eclipse/linuxtools/internal/rdt/proxy/RDTCommandLauncher.java2
-rw-r--r--profiling/org.eclipse.linuxtools.ssh.proxy/src/org/eclipse/linuxtools/internal/ssh/proxy/SSHCommandLauncher.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/profiling/org.eclipse.linuxtools.rdt.proxy/src/org/eclipse/linuxtools/internal/rdt/proxy/RDTCommandLauncher.java b/profiling/org.eclipse.linuxtools.rdt.proxy/src/org/eclipse/linuxtools/internal/rdt/proxy/RDTCommandLauncher.java
index d8fab464ea..b3ea742e71 100644
--- a/profiling/org.eclipse.linuxtools.rdt.proxy/src/org/eclipse/linuxtools/internal/rdt/proxy/RDTCommandLauncher.java
+++ b/profiling/org.eclipse.linuxtools.rdt.proxy/src/org/eclipse/linuxtools/internal/rdt/proxy/RDTCommandLauncher.java
@@ -221,7 +221,7 @@ public class RDTCommandLauncher implements IRemoteCommandLauncher {
@Override
public Process execute(IPath commandPath, String[] args, String[] env,
IPath changeToDirectory, IProgressMonitor monitor) {
- return execute(commandPath, args, env, changeToDirectory, monitor);
+ return execute(commandPath, args, env, changeToDirectory, monitor, null);
}
}
diff --git a/profiling/org.eclipse.linuxtools.ssh.proxy/src/org/eclipse/linuxtools/internal/ssh/proxy/SSHCommandLauncher.java b/profiling/org.eclipse.linuxtools.ssh.proxy/src/org/eclipse/linuxtools/internal/ssh/proxy/SSHCommandLauncher.java
index 432ae9d83f..aa537359f7 100644
--- a/profiling/org.eclipse.linuxtools.ssh.proxy/src/org/eclipse/linuxtools/internal/ssh/proxy/SSHCommandLauncher.java
+++ b/profiling/org.eclipse.linuxtools.ssh.proxy/src/org/eclipse/linuxtools/internal/ssh/proxy/SSHCommandLauncher.java
@@ -99,6 +99,6 @@ public class SSHCommandLauncher extends SSHBase implements IRemoteCommandLaunche
@Override
public Process execute(IPath commandPath, String[] args, String[] env,
IPath changeToDirectory, IProgressMonitor monitor) throws CoreException {
- return execute(commandPath, args, env, changeToDirectory, monitor);
+ return execute(commandPath, args, env, changeToDirectory, monitor, null);
}
}

Back to the top