Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey Loskutov2021-01-02 11:56:27 +0000
committerAndrey Loskutov2021-01-02 11:56:27 +0000
commit7a97d4a6db4f4cf5a165013a1f6dc7a5f77e5e46 (patch)
tree2e7350f0baabade5ad3e6681f408c10328da0649
parent90cd8ab52c7932deb45480b7b310fc2ebf8d6d86 (diff)
downloadeclipse.platform.debug-I20210103-0600.tar.gz
eclipse.platform.debug-I20210103-0600.tar.xz
eclipse.platform.debug-I20210103-0600.zip
Bug 569486 - InterruptedException when working with Java Debug ViewI20210104-0600I20210103-1800I20210103-0600I20210102-1800
Don't report InterruptedException, is not woth the effort. Change-Id: I651b1184d39d7c51cf2e2388724543d6a5044df9 Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/stringsubstitution/SelectedResourceManager.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/stringsubstitution/SelectedResourceManager.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/stringsubstitution/SelectedResourceManager.java
index 2df6c515a..124302a28 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/stringsubstitution/SelectedResourceManager.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/stringsubstitution/SelectedResourceManager.java
@@ -242,6 +242,12 @@ public class SelectedResourceManager {
} catch (TimeoutException e) {
reportTimeout();
return null;
+ } catch (InterruptedException e) {
+ Thread.interrupted();
+ // Bug 569486: don't care, tha task was cancelled, see for example
+ // org.eclipse.jface.text.TextViewerHoverManager.TextViewerHoverManager()
+ // DebugUIPlugin.log(e);
+ return null;
} catch (Exception e) {
DebugUIPlugin.log(e);
return null;

Back to the top