On Fri, 25 Oct 2024 06:56:30 GMT, Jan Lahoda <jlah...@openjdk.org> wrote:
>> This PR is simply adding parameter-less `java.io.IO.{println(),readln()}`, >> with the (hopefully) obvious semantics, plus the corresponding wiring to >> make those work. This may become part of JEP 495: >> https://openjdk.org/jeps/495 > > Jan Lahoda has updated the pull request incrementally with one additional > commit since the last revision: > > Removing incorrect sentence about writing a prompt for the prompt-less > readln method. Hello Jan, the GitHub actions job failures look related: /Users/runner/work/jdk/jdk/test/langtools/jdk/jshell/ConsoleTest.java:229: error: ThrowingJShellConsole is not abstract and does not override abstract method readLine() in JShellConsole private static class ThrowingJShellConsole implements JShellConsole { ^ /Users/runner/work/jdk/jdk/test/langtools/jdk/jshell/ConsoleTest.java:199: error: <anonymous ConsoleTest$11> is not abstract and does not override abstract method readLine() in JShellConsole super.setUp(bc.andThen(b -> b.console(new JShellConsole() { ^ 2 errors result: Failed. Compilation failed: Compilation failed ------------- PR Comment: https://git.openjdk.org/jdk/pull/21693#issuecomment-2439446550