Blame SOURCES/oprofile-fix-tool-detection.patch

59157c
diff --git oprofile/org.eclipse.linuxtools.oprofile.launch/src/org/eclipse/linuxtools/internal/oprofile/launch/configuration/OprofileSetupTab.java oprofile/org.eclipse.linuxtools.oprofile.launch/src/org/eclipse/linuxtools/internal/oprofile/launch/configuration/OprofileSetupTab.java
59157c
index c4bd918..9534371 100644
59157c
--- oprofile/org.eclipse.linuxtools.oprofile.launch/src/org/eclipse/linuxtools/internal/oprofile/launch/configuration/OprofileSetupTab.java
59157c
+++ oprofile/org.eclipse.linuxtools.oprofile.launch/src/org/eclipse/linuxtools/internal/oprofile/launch/configuration/OprofileSetupTab.java
59157c
@@ -12,6 +12,7 @@
59157c
 package org.eclipse.linuxtools.internal.oprofile.launch.configuration;
59157c
 
59157c
 import java.text.MessageFormat;
59157c
+import java.util.ArrayList;
59157c
 import java.util.Arrays;
59157c
 import java.util.List;
59157c
 
59157c
@@ -161,7 +162,7 @@ public class OprofileSetupTab extends AbstractLaunchConfigurationTab {
59157c
         l2.setLayoutData(data);
59157c
 
59157c
         controlCombo = new CCombo(p, SWT.DROP_DOWN|SWT.READ_ONLY|SWT.BORDER);
59157c
-        List<String> tools = Arrays.asList(OprofileProject.OPERF_BINARY);
59157c
+        List<String> tools = new ArrayList<>(Arrays.asList(OprofileProject.OPERF_BINARY));
59157c
 		try {
59157c
 			Process proc = RuntimeProcessFactory.getFactory().exec(
59157c
 					new String [] {"which", OprofileProject.OPCONTROL_BINARY }, //$NON-NLS-1$