New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WFCORE-3187] add-user.sh tool prints unexpected characters if arrow keys are pushed during interactive mode #2715
Conversation
Can one of the admins verify this patch? |
78d45d0
to
4d35dc8
Compare
try { | ||
createTerminalConnection(readLineHandler); | ||
} catch (IOException e) { | ||
e.printStackTrace(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should log a proper error - you can find an example on the line 65 before change
assertEquals(Thread.State.TERMINATED, aeshJavaConsoleTestResource.getState()); | ||
} | ||
|
||
public class AeshJavaConsoleTestResource extends Thread { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
public inner classes are generally considered as not a good practice, is there any reason this class needs to be public? Also please make it static
…keys are pushed during interactive mode
I think this one will be easier to review after a rebase. |
I moved this PR to a new rebased PR #3064 for easier review. |
JBEAP: https://issues.jboss.org/browse/JBEAP-6640
WFCORE: https://issues.jboss.org/browse/WFCORE-3187
Please DON'T merge before #2533 is merged, since this pull request requires changes introduced in #2533 .