diff options
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/widgets/Synchronizer.java')
-rwxr-xr-x | bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/widgets/Synchronizer.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/widgets/Synchronizer.java b/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/widgets/Synchronizer.java index fd2426f6b2..db259c417f 100755 --- a/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/widgets/Synchronizer.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/widgets/Synchronizer.java @@ -6,7 +6,8 @@ package org.eclipse.swt.widgets; */
import org.eclipse.swt.*;
-
+import org.eclipse.swt.internal.*;
+
/**
* Instances of this class provide synchronization support
* for displays. A default instance is created automatically
@@ -141,7 +142,7 @@ protected void syncExec (Runnable runnable) { }
}
if (interrupted) {
- Thread.currentThread ().interrupt ();
+ Compatability.interrupt ();
}
if (lock.throwable != null) {
SWT.error (SWT.ERROR_FAILED_EXEC, lock.throwable);
|