RFR: 8347050: Console.readLine() drops '\' when reading through JLine [v2]

Jan Lahoda jlahoda at openjdk.org
Wed May 21 07:23:07 UTC 2025


> 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.

Jan Lahoda has updated the pull request incrementally with one additional commit since the last revision:

  Fixing test on Windows.

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/25326/files
  - new: https://git.openjdk.org/jdk/pull/25326/files/fbf17434..392cede8

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=25326&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=25326&range=00-01

  Stats: 5 lines in 1 file changed: 3 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/25326.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/25326/head:pull/25326

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


More information about the kulla-dev mailing list