Continue #2027: throw CoreException instead of returning null#2037
Conversation
ruspl-afed
commented
Jul 13, 2025
- see Make connector API provisional and prevent static singleton access #2027 (comment)
- see Make connector API provisional and prevent static singleton access #2027 (comment)
Test Results 1 920 files - 27 1 920 suites - 27 1h 31m 12s ⏱️ + 3m 6s For more details on these failures, see this check. Results for commit b8c6c8b. ± Comparison against base commit d4985f2. ♻️ This comment has been updated with latest results. |
laeubi
left a comment
There was a problem hiding this comment.
Thanks for working on this, I think instead of using Optionals here it would be much more appropriate to throw a CoreException if something goes wrong as we do elsewhere in Platform code and otherwise never return null.
...s/org.eclipse.terminal.view.ui/src/org/eclipse/terminal/view/ui/internal/ConsoleManager.java
Outdated
Show resolved
Hide resolved
...s/org.eclipse.terminal.view.ui/src/org/eclipse/terminal/view/ui/internal/ConsoleManager.java
Outdated
Show resolved
Hide resolved
...s/org.eclipse.terminal.view.ui/src/org/eclipse/terminal/view/ui/internal/ConsoleManager.java
Outdated
Show resolved
Hide resolved
....terminal.view.ui/src/org/eclipse/terminal/view/ui/launcher/ITerminalConsoleViewManager.java
Outdated
Show resolved
Hide resolved
....terminal.view.ui/src/org/eclipse/terminal/view/ui/launcher/ITerminalConsoleViewManager.java
Outdated
Show resolved
Hide resolved
|
Thank you for your review @laeubi |
a83024c to
c1e2daf
Compare
nullnull
...s/org.eclipse.terminal.view.ui/src/org/eclipse/terminal/view/ui/internal/ConsoleManager.java
Show resolved
Hide resolved
...s/org.eclipse.terminal.view.ui/src/org/eclipse/terminal/view/ui/internal/ConsoleManager.java
Outdated
Show resolved
Hide resolved
...rminal.view.ui/src/org/eclipse/terminal/view/ui/internal/handler/NewTerminalViewHandler.java
Outdated
Show resolved
Hide resolved
....terminal.view.ui/src/org/eclipse/terminal/view/ui/launcher/ITerminalConsoleViewManager.java
Show resolved
Hide resolved
c1e2daf to
f9c8cdb
Compare
f9c8cdb to
b8c6c8b
Compare
|
@laeubi TBH I do not understand what exactly is wrong with pipeline and how can I fix it |
|
I think this is a usual test failure: |