Commit 6160483
fix(launching): run DebugUITools.launch in UI thread
MavenConsoleLineTracker.launchRemoteJavaApp was called from a
ConsolePatternMatcher worker thread, so DebugUITools.launch hit
Display.getShells() off the SWT UI thread and threw
SWTException: Invalid thread access. Wrap the launch in
Display.asyncExec so it runs on the UI thread.
Fixes #2218
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>1 parent 02002ee commit 6160483
2 files changed
Lines changed: 3 additions & 2 deletions
File tree
- org.eclipse.m2e.launching
- META-INF
- src/org/eclipse/m2e/internal/launch
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| 61 | + | |
61 | 62 | | |
62 | 63 | | |
63 | 64 | | |
| |||
329 | 330 | | |
330 | 331 | | |
331 | 332 | | |
332 | | - | |
| 333 | + | |
333 | 334 | | |
334 | 335 | | |
335 | 336 | | |
| |||
0 commit comments