Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Title: Eclipse Console does not sync stdin/stdout correctly on Windows 11 (Eclipse 4.37.0)

Đang mở
#2,440 3 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
java
Lĩnh vực
tooling

Hướng nghiên cứu

Bắt đầu bằng cách tái hiện vấn đề với một chương trình Java đơn giản flush output trước khi đọc input trong Eclipse Console trên Windows 11, sau đó so sánh với CMD hoặc PowerShell. Được xem là hoàn tất khi con trỏ xuất hiện trên dòng mới tại input prompt mà không chồng lên output trước đó.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

bug needinfo

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:

  1. Create a simple Java program that prints a line, flushes stdout, and then calls or similar.
  2. Run the program in the Eclipse Console.
  3. 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.

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.
Ngôn ngữ chính
Java
Star
165
Fork
174
Merge trung bình
2 ngày 21 giờ
Pull request đã merge (30 ngày)
45

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của eclipse-platform/eclipse.platform

Tất cả issue của eclipse-platform/eclipse.platform

Issue tương tự

Thêm issue về Java

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.