Commit 2edbe4b
committed
Don't use Display.syncExec() for refresh in RuntimeClasspathViewer
The listener may be called from a background thread that already holds
some locks. To refresh RuntimeClasspathViewer UI in the current case,
syncExec is not needed, asyncExec is enough and it would not acquire the
UI lock from an unknown thread.
Fixes #6721 parent 093343f commit 2edbe4b
File tree
1 file changed
+4
-11
lines changed- org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/classpath
1 file changed
+4
-11
lines changedLines changed: 4 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
| 67 | + | |
78 | 68 | | |
79 | 69 | | |
80 | 70 | | |
| |||
395 | 385 | | |
396 | 386 | | |
397 | 387 | | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
398 | 391 | | |
399 | 392 | | |
400 | 393 | | |
| |||
0 commit comments