RFR 8166051: [jline] Cannot parse .inputrc with \r
Jan Lahoda
jan.lahoda at oracle.com
Fri Sep 16 09:23:57 UTC 2016
Please review a change to how .inputrc is read. Currently, it uses
BufferedReader.readLine(), which interprets '\r' as a line separator,
and so the '\r' character cannot be used in the macros. The proposed
change is to use System.getProperty("line.separator") and "\n" as line
separators.
Bug:
https://bugs.openjdk.java.net/browse/JDK-8166051
Webrev:
http://cr.openjdk.java.net/~jlahoda/8166051/webrev.00/
Thanks!
Jan
More information about the core-libs-dev
mailing list