RFR: 8340830: Console.readLine() and Console.printf() are mutually blocking [v5]

Naoto Sato naoto at openjdk.org
Tue Feb 3 20:03:32 UTC 2026


On Tue, 3 Feb 2026 19:01:11 GMT, Justin Lu <jlu at openjdk.org> wrote:

>> Good catch! Thanks. The test was not running jline indeed. Now the system property is passed down to the java launcher so that the test correctly checks for both java.base and jline implementations. I think keeping the test run separately would help diagnose the jtreg logs.
>
> A parameterized test with a string value source containing the two property values would also be a concise way to have helpful Jtreg logs if we wanted to keep it to a single `@run`.

Good point. Made it a single run with parameterized

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/29493#discussion_r2760753745


More information about the core-libs-dev mailing list