Integrated: 8347050: Console.readLine() drops '\' when reading through JLine

Jan Lahoda jlahoda at openjdk.org
Thu May 22 06:01:58 UTC 2025


On Tue, 20 May 2025 13:07:55 GMT, Jan Lahoda <jlahoda at openjdk.org> wrote:

> JLine can do history expansion, and interpret escapes, when returning a value. That is not desirable when using JLine as a backend for Console.readLine().
> 
> This PR proposes to disable the history expansion.

This pull request has now been integrated.

Changeset: 061b5cc6
Author:    Jan Lahoda <jlahoda at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/061b5cc6b9939e182f3b2063ad86d042e35f0a91
Stats:     19 lines in 2 files changed: 17 ins; 0 del; 2 mod

8347050: Console.readLine() drops '\' when reading through JLine

Reviewed-by: naoto

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

PR: https://git.openjdk.org/jdk/pull/25326


More information about the core-libs-dev mailing list