stevedlawrence opened a new pull request #527:
URL: https://github.com/apache/daffodil/pull/527
Commit 66dda260ce upgraded from JLine2 to JLine3, which resulted in some
subtle breakages:
- In JLine2, the readLine() function returned null when a user pressed
Ctrl-C or Ctrl-D. JLine3 changed this behavior so that the function
never returns null, but instead throws exceptions. This changes the
CLIDebuggerRunner to not check for null and instead catch the
appropriate exceptions.
- When the command completion code was rewritten, it compared against
the "name" field of DebuggerCommand's to figure out which command a
user had typed. This meant that if a user used short commands, e.g.
"i <TAB>", then we would not list any potential completions. This
fixes this by using == for the comparision, which compares against
both the long and short command names.
DAFFODIL-2494
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]