diff options
author | Sergey Prigogin | 2010-11-28 21:17:37 +0000 |
---|---|---|
committer | Sergey Prigogin | 2010-11-28 21:17:37 +0000 |
commit | 93025a22fb992bee375a618484edf35b795366fd (patch) | |
tree | 15848be35d6b7e38f4e71e3a5c186d06364a12e4 /launch | |
parent | 3e56b321b1c86bc5c5e80dffe91d9a32bfd65d15 (diff) | |
download | org.eclipse.cdt-93025a22fb992bee375a618484edf35b795366fd.tar.gz org.eclipse.cdt-93025a22fb992bee375a618484edf35b795366fd.tar.xz org.eclipse.cdt-93025a22fb992bee375a618484edf35b795366fd.zip |
Bug 328012 - UI freezes when opening a launch configuration if the binary is on a slow file system
Diffstat (limited to 'launch')
-rw-r--r-- | launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/ui/CAbstractMainTab.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/ui/CAbstractMainTab.java b/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/ui/CAbstractMainTab.java index b79349318b5..49394fdc9d0 100644 --- a/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/ui/CAbstractMainTab.java +++ b/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/ui/CAbstractMainTab.java @@ -477,11 +477,14 @@ public abstract class CAbstractMainTab extends CLaunchConfigurationTab { } /** + * This method is deprecated since LaunchUtils#getBinary(IProject, IPath) is too slow to be + * called on the UI thread. See "https://bugs.eclipse.org/bugs/show_bug.cgi?id=328012". * @param project * @param exePath * @return * @throws CoreException */ + @Deprecated protected boolean isBinary(IProject project, IPath exePath) throws CoreException { try { Boolean binValue = fBinaryExeCache.get(exePath); |