JDK-8342936 : Enhance java.io.IO with parameter-less println() and readln()
  • Type: Sub-task
  • Component: core-libs
  • Sub-Component: java.io
  • Affected Version: 24
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2024-10-24
  • Updated: 2024-11-27
  • Resolved: 2024-11-14
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 24
24 b25Fixed
Related Reports
CSR :  
Description
Currently, the java.io.IO provides println(Object) and print(Object) methods, but not a parameter-less println(). This is not very convenient, as when there's a sequence of print(...) calls, it typically needs to be finished with a new line, which requires code along the lines of:
println("")

It would be more convenient to add a parameter-less println() method.
Comments
Changeset: c3776db4 Branch: master Author: Jan Lahoda <jlahoda@openjdk.org> Date: 2024-11-14 08:22:51 +0000 URL: https://git.openjdk.org/jdk/commit/c3776db498193d45088ed19e2a1d2697281fd590
14-11-2024

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/21693 Date: 2024-10-24 19:27:47 +0000
24-10-2024