diff options
author | Thomas Watson | 2019-05-29 14:13:36 +0000 |
---|---|---|
committer | Thomas Watson | 2019-06-10 12:19:27 +0000 |
commit | 6a09934020229233b209d32545fbcb0a0bdd1128 (patch) | |
tree | 366f2506b251f0c0c4ba07533362bf31b094ffeb /bundles/org.eclipse.osgi.tests/META-INF/MANIFEST.MF | |
parent | fe505109e562280fc0582b2e450645c320bec8b4 (diff) | |
download | rt.equinox.framework-6a09934020229233b209d32545fbcb0a0bdd1128.tar.gz rt.equinox.framework-6a09934020229233b209d32545fbcb0a0bdd1128.tar.xz rt.equinox.framework-6a09934020229233b209d32545fbcb0a0bdd1128.zip |
Bug 547830 - fix possible deadlock in EnhancedExecutor.await()
The count used in EnhancedExecutor is dangerous because it increments
before dispatching work to the executor. If any exception happens while
dispatching the task then the count will not be decremented. This
changes the code to use futures instead to see when the work is done.
Change-Id: Ie042d0c269cffa95dc61d917f0c1a873ba448294
Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
Diffstat (limited to 'bundles/org.eclipse.osgi.tests/META-INF/MANIFEST.MF')
-rw-r--r-- | bundles/org.eclipse.osgi.tests/META-INF/MANIFEST.MF | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.osgi.tests/META-INF/MANIFEST.MF b/bundles/org.eclipse.osgi.tests/META-INF/MANIFEST.MF index 58c45dd4e..2524696c8 100644 --- a/bundles/org.eclipse.osgi.tests/META-INF/MANIFEST.MF +++ b/bundles/org.eclipse.osgi.tests/META-INF/MANIFEST.MF @@ -2,7 +2,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: Core OSGi Tests Bundle-SymbolicName: org.eclipse.osgi.tests;singleton:=true -Bundle-Version: 3.13.500.qualifier +Bundle-Version: 3.13.600.qualifier Bundle-Vendor: Eclipse.org Bundle-Localization: plugin Require-Bundle: |