Skip to content

Cleanup InputReadJob related ProcessConsole code#2553

Merged
iloveeclipse merged 1 commit intoeclipse-platform:masterfrom
iloveeclipse:issue_1033
Mar 5, 2026
Merged

Cleanup InputReadJob related ProcessConsole code#2553
iloveeclipse merged 1 commit intoeclipse-platform:masterfrom
iloveeclipse:issue_1033

Conversation

@iloveeclipse
Copy link
Member

@iloveeclipse iloveeclipse commented Mar 5, 2026

  • Made console stream fields final for ProcessConsole and InputReadJob
  • closeStreams() should first set fStreamsClosed to true before closing the stream, to give the InputReadJob a chance to exit without error
  • InputReadJob should consider that stream could be closed via canceling()
  • don't log IO errors from InputReadJob if we know that stream is closed

Fixes #1033

- Made console stream fields final for ProcessConsole and InputReadJob
- closeStreams() should first set fStreamsClosed to true before closing
the stream, to give the InputReadJob a chance to exist without error
- InputReadJob should consider that stream could be closed via
canceling()
- don't log IO errors from InputReadJob if we know that stream is closed

Fixes eclipse-platform#1033
@github-actions
Copy link
Contributor

github-actions bot commented Mar 5, 2026

Test Results

 1 980 files  ±0   1 980 suites  ±0   1h 34m 41s ⏱️ -25s
 4 750 tests ±0   4 726 ✅ ±0   24 💤 ±0  0 ❌ ±0 
14 250 runs  ±0  14 068 ✅ ±0  182 💤 ±0  0 ❌ ±0 

Results for commit 895c635. ± Comparison against base commit ce5c9cc.

@iloveeclipse iloveeclipse merged commit 078671a into eclipse-platform:master Mar 5, 2026
18 of 19 checks passed
@iloveeclipse iloveeclipse deleted the issue_1033 branch March 5, 2026 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Random failing ProcessConsoleTests

1 participant