RFR: 8347050: Console.readLine() drops '\' when reading through JLine
Jan Lahoda
jlahoda at openjdk.org
Tue May 20 13:12:28 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.
-------------
Commit messages:
- Adding bug number
- 8347050: Console.readLine() drops '\' when reading through JLine
Changes: https://git.openjdk.org/jdk/pull/25326/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=25326&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8347050
Stats: 16 lines in 2 files changed: 14 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 core-libs-dev
mailing list