Title: Eclipse Console does not sync stdin/stdout correctly on Windows 11 (Eclipse 4.37.0)
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
まず、Windows 11 の Eclipse Console で入力を読み取る前に出力をフラッシュする単純な Java プログラムを使って問題を再現し、その後 CMD または PowerShell と比較します。入力プロンプトの新しい行にカーソルが表示され、以前の出力と重ならなければ完了です。
索引モデルが issue の本文から書いたものです。
説明
Body:
I am experiencing an issue with the Eclipse Console when running Java programs that read user input using and . The console cursor does not move to the correct line before input is requested, even though the program prints newline characters and flushes the output stream.
The same code works correctly in a normal Windows terminal (CMD/PowerShell), so the problem appears to be specific to the Eclipse Console’s handling of stdout/stdin synchronization.
Environment:
• OS: Windows 11
• Eclipse IDE: 4.37.0
• Java: (any version, issue is reproducible across multiple JDKs)
Steps to reproduce:
- Create a simple Java program that prints a line, flushes stdout, and then calls or similar.
- Run the program in the Eclipse Console.
- Observe that the cursor appears on the wrong line or overlaps previous output.
Expected behavior:
The cursor should appear on a new line exactly where the program prints the input prompt.
Actual behavior:
The cursor appears on the previous line or in an incorrect position, making interactive console programs difficult to use.
This issue seems related to how the Eclipse Console buffers and renders stdout before stdin is requested.
Thank you for looking into this.
Let's make sure issue is not already fixed in latest builds first.
- I verified I can reproduce this issue against latest Integration Build of Eclipse SDK
Steps to reproduce
From a fresh installation and clean workspace:
- <...setup environment>
I tried
- <... trigger issue>
I expected: <what was the expected outcome?>
But got: <what is the actual undesired behavior?>
Here is some relevant log output
From <workspace>/.metadata/.log
<relevant log output>
Tested under this environment:
- OS & version: ...
- Eclipse IDE/Platform version (as shown in Help > About): ...
- ...Anything else that can be useful...
Community
- I understand reporting an issue to this OSS project does not mandate anyone to fix it. Other contributors may consider the issue, or not, at their own convenience. The most efficient way to get it fixed is that I fix it myself and contribute it back as a good quality patch to the project.
- 主要言語
- Java
- スター
- 165
- フォーク
- 174
- 平均マージ
- 3日 2時間
- マージ済み PR(30日)
- 43
環境構築
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
eclipse-platform/eclipse.platform のほかの issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
eclipse-platform/eclipse.platform#3019 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
eclipse-platform/eclipse.platform#2940 ·
メンテナーはふだん 1 日以内に返信
-
Terminal views all show same name 'Terminal' in Ctrl+F7 view switcher popup対応中かも @ravnskjaer が 9 日前に担当しました。 オープンbug good first issue help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
eclipse-platform/eclipse.platform#2774 · コメント 4 件 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
eclipse-platform/eclipse.platform#2593 · コメント 7 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
eclipse-platform/eclipse.platform#3027 ·
メンテナーはふだん 1 日以内に返信
eclipse-platform/eclipse.platform の issue をすべて見る
似ている issue
-
NullPointerException when a `DeserializationProblemHandler` returns `null` for `byte[]` (single value unwrapped) and `char[]` elements対応中かも @Marti2203 が今日担当しました。 オープン
難易度 2/5 半日 初心者へのやさしさ 88/100
FasterXML/jackson-databind#6300 ·
メンテナーはふだん 1 日以内に返信
-
content good first issue
難易度 1/5 1時間未満 初心者へのやさしさ 95/100
cpinitiative/usaco-guide#6699 ·
メンテナーはふだん 1 日以内に返信
-
BC remittance upload: a claim MSP refused (S03) is saved with a blank status instead of refused (F)オープンtype: bug
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
carlos-emr/carlos#4933 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
apache/rocketmq-dashboard#6925 ·
メンテナーはふだん 3 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
Vakore/ZappierGames#147 ·